diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 525651f..55a2fb6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,11 @@ canteraTest: - wmake testApp - cd testApp - ./Alltest + - ./Alltest2.py c2h6_diffusion.csv diffusion + - ./Alltest2.py ch4_adiabatic.csv premixed artifacts: paths: - testApp/cases/*/canteraTest.log + - testApp/diffusion/*/canteraTest.log + - testApp/premixed/*/canteraTest.log when: always diff --git a/testApp/Alltest b/testApp/Alltest index 74ab817..5ae345a 100755 --- a/testApp/Alltest +++ b/testApp/Alltest @@ -22,6 +22,6 @@ do [ $? -ne 0 ] && error_cases[${#error_cases[*]}]=$sp && exit_code=-1 done -echo ${error_cases[*]} +echo Cases having error: ${error_cases[*]} exit $exit_code diff --git a/testApp/Alltest2.py b/testApp/Alltest2.py index b52023e..8810763 100755 --- a/testApp/Alltest2.py +++ b/testApp/Alltest2.py @@ -56,6 +56,7 @@ with open('./c2h6_diffusion.csv', 'rb') as csvfile: error_cases.append(error) +print "Errorneous cases" print error_cases sys.exit(sum(error_cases))