Skip to content

Commit 9dd9dbb

Browse files
authored
add more unit test for testing NSE_NET (#1504)
Added unit_test using make_table in test_ase, which gives output of the NSE_NET check on a wider variety of conditions. Just to ensure I don't break things in the later PRs.
1 parent ce331bc commit 9dd9dbb

File tree

2 files changed

+369
-0
lines changed

2 files changed

+369
-0
lines changed

.github/workflows/nse_net.yml

+14
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,18 @@ jobs:
4242
cd unit_test/test_ase
4343
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/ase_nse_net_unit_test.out
4444
45+
- name: Compile, test_ase/make_table (NSE_NET, ase, make_table)
46+
run: |
47+
cd unit_test/test_ase/make_table
48+
make realclean
49+
make -j 4
4550
51+
- name: Run, test_ase/make_table (NSE_NET, ase, make_table)
52+
run: |
53+
cd unit_test/test_ase/make_table
54+
./main3d.gnu.ex > test.out
55+
56+
- name: Compare to stored output (NSE_NET, ase, make_table)
57+
run: |
58+
cd unit_test/test_ase/make_table
59+
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/ase_nse_net_make_table_unit_test.out

0 commit comments

Comments
 (0)