Skip to content

Commit de4c9ea

Browse files
authored
Merge pull request #58 from bonachea/fix-parallel-callbacks
Fix parallel callbacks feature
2 parents 9dee1f5 + de562d0 commit de4c9ea

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,9 @@ jobs:
128128
( set +e ; fpm run --example false-assertion ${FPM_FLAGS} --flag "${{ matrix.EXTRA_FLAGS }}" ; test $? = $ERROR_STOP_CODE )
129129
( set +e ; fpm run --example invoke-via-macro ${FPM_FLAGS} --flag "${{ matrix.EXTRA_FLAGS }}" ; test $? = $ERROR_STOP_CODE )
130130
131-
131+
- name: Test Assertions w/ Parallel Callbacks
132+
env:
133+
FPM_FLAGS: ${{ env.FPM_FLAGS }} --flag -DASSERTIONS --flag -DASSERT_MULTI_IMAGE --flag -DASSERT_PARALLEL_CALLBACKS
134+
run: |
135+
set -x
136+
( set +e ; fpm run --example false-assertion ${FPM_FLAGS} --flag "${{ matrix.EXTRA_FLAGS }}" ; test $? = $ERROR_STOP_CODE )

src/assert_m.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
module assert_m
22
!! Public interface
3+
use assert_subroutine_m ! DO NOT PLACE AN ONLY CLAUSE HERE!
4+
! All public members of assert_subroutine_m are exported
35
use intrinsic_array_m, only : intrinsic_array_t
4-
use assert_subroutine_m, only : assert, assert_always
56
use characterizable_m, only : characterizable_t
67

78
! The function below is public only to support automated

0 commit comments

Comments
 (0)