From 7bce61e8a3dbe12363ab946d02b7a953c126de9f Mon Sep 17 00:00:00 2001 From: Yeongdo Park Date: Fri, 21 Dec 2018 03:10:09 -0500 Subject: [PATCH] added flame structure test sets --- .gitlab-ci.yml | 4 ++++ testApp/Alltest | 2 +- testApp/Alltest2.py | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) 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))