From c4c36ef5db359866b0ea2312432e7fd7c52816b3 Mon Sep 17 00:00:00 2001 From: Federico Felici <federico.felici@epfl.ch> Date: Wed, 17 Jun 2020 12:29:41 +0200 Subject: [PATCH] Revert to running all expcodes in the same job --- tests/test_expcodes.m | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/tests/test_expcodes.m b/tests/test_expcodes.m index 3050cde..610a0f2 100644 --- a/tests/test_expcodes.m +++ b/tests/test_expcodes.m @@ -9,7 +9,7 @@ classdef test_expcodes < matlab.unittest.TestCase properties(ClassSetupParameter) expcode = {'1','1005','1006'}; % list of expcodes to test end - + methods(TestClassSetup) function setup_environment(testCase) testCase.addTeardown(@cd,pwd); @@ -56,20 +56,18 @@ classdef test_expcodes < matlab.unittest.TestCase testCase.expcode_obj.printinits end - function test_expcode_setup(testCase) - fprintf('\n=== Testing callinits for expcode %d: %s === \n',... - testCase.expcode_obj.maincode,... - testCase.expcode_obj.name); - + function test_expcode_setup(testCase) fprintf('\n=== Testing setup for expcode %d: %s === \n',... - testCase.expcode_obj.maincode,... - testCase.expcode_obj.name); - + testCase.expcode_obj.maincode,... + testCase.expcode_obj.name); testCase.expcode_obj.setup; % run setup this exp code end function test_callinits(testCase) - testCase.expcode_obj.callinits; + fprintf('\n=== Testing callinits for expcode %d: %s === \n',... + testCase.expcode_obj.maincode,... + testCase.expcode_obj.name); + testCase.expcode_obj.callinits; end function test_actualize(testCase) -- GitLab