From 388e5a63dcfa855f662c247a0e81a1b2cd0946dd Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Thu, 6 Apr 2017 09:32:39 +0530 Subject: project tests: Add a new BuildStep called validate --- run_project_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'run_project_tests.py') diff --git a/run_project_tests.py b/run_project_tests.py index 3a0dfa1..dc7af76 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -43,6 +43,7 @@ class BuildStep(Enum): test = 3 install = 4 clean = 5 + validate = 6 class TestResult: @@ -393,7 +394,7 @@ def _run_test(testdir, test_build_dir, install_dir, extra_args, flags, compile_c stde += e if pi.returncode != 0: return TestResult('Running clean failed.', BuildStep.clean, stdo, stde, mesonlog, gen_time, build_time, test_time) - return TestResult(validate_install(testdir, install_dir), BuildStep.clean, stdo, stde, mesonlog, gen_time, build_time, test_time) + return TestResult(validate_install(testdir, install_dir), BuildStep.validate, stdo, stde, mesonlog, gen_time, build_time, test_time) def gather_tests(testdir): tests = [t.replace('\\', '/').split('/', 2)[2] for t in glob(os.path.join(testdir, '*'))] -- cgit v1.1