diff --git a/.github/workflows/runTests.yml b/.github/workflows/runTests.yml index 5d86764f..ee6e2aa3 100644 --- a/.github/workflows/runTests.yml +++ b/.github/workflows/runTests.yml @@ -37,11 +37,13 @@ jobs: if: matrix.build_system == '-G Ninja' uses: seanmiddleditch/gha-setup-ninja@master - name: CMake configure - run: cmake -B./build -DCMAKE_INSTALL_PREFIX:STRING=./artifacts/ -D BUILD_MT_RRT_SAMPLES=OFF -DBUILD_MT_RRT_TESTS=ON -DENABLE_MT_RRT_TESTS_LOGGING=ON -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_BUILD_TYPE:STRING=Release ${{ matrix.compiler_opt }} + run: cmake -B./build -DCMAKE_INSTALL_PREFIX:STRING=./artifacts/ -D BUILD_MT_RRT_SAMPLES=OFF -DBUILD_MT_RRT_TESTS=ON -DCMAKE_CONFIGURATION_TYPES="Release" -DCMAKE_BUILD_TYPE:STRING=Release ${{ matrix.build_system }} ${{ matrix.compiler_opt }} - name: Build run: cmake --build ./build --config Release - name: Install run: cmake --install ./build --config Release + - name: Tests-show + run: python script/RunTests.py --folder ./artifacts/bin --list - name: Tests run: python script/RunTests.py --folder ./artifacts/bin - uses: actions/upload-artifact@v2 diff --git a/script/RunTests.py b/script/RunTests.py index a0aeab0d..d86083ce 100644 --- a/script/RunTests.py +++ b/script/RunTests.py @@ -14,9 +14,6 @@ def __str__(self): def run(self): failed = [] for name in self.forEachProcess(): - print('>>>===========================================================<<<') - print('running {}'.format(name)) - print('>>>===========================================================<<<') completed = subprocess.run(['./{}'.format(name)], cwd=self.folder, text=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) if not completed.returncode == 0: failed.append(name)