SPARC-X / SPARC

Simulation Package for Ab-initio Real-space Calculations
GNU General Public License v3.0
69 stars 37 forks source link

Make sure failed tests indeed make action fail #161

Closed alchem0x2A closed 1 year ago

alchem0x2A commented 1 year ago

Thanks @shashikant193 pointing out that SPARC_testing_script.py does not return non-zero when tests fail. This PR fixes issue by parsing if the output has Failed tests: <num> where num == 0, if not, it marks the test as failing.

@shashikant193 I appreciate if you can add more quick_run test cases.