Skip to content

Commit 6694a6b

Browse files
committed
test-assert-subroutine-error-termination: Remove check-exit-status from flang case
This helper executable is unnecessary and exacerbates flag-inheritance problems by adding extraneous recursive fpm calls
1 parent f0f4b3b commit 6694a6b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/run-false-assertion.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22
output=$(fpm run --example false-assertion --compiler flang-new --flag '-mmlir -allow-assumed-rank -O3 -DASSERTIONS' > /dev/null 2>&1)
3-
echo $?
3+
echo $? > build/exit_status

test/test-assert-subroutine-error-termination.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ program test_assert_subroutine_error_termination
2121
#elif NAGFOR
2222
command = "fpm run --example false-assertion --compiler nagfor --flag '-DASSERTIONS -fpp' > /dev/null 2>&1", &
2323
#elif __flang__
24-
command = "./test/run-false-assertion.sh | fpm run --example check-exit-status", &
24+
command = "./test/run-false-assertion.sh", &
2525
#elif __INTEL_COMPILER
2626
command = "./test/run-false-assertion-intel.sh | fpm run --example check-exit-status", &
2727
#elif _CRAYFTN

0 commit comments

Comments
 (0)