From ca2326a6ce719e213778eb81c87d1cd95bcb1efd Mon Sep 17 00:00:00 2001 From: Jack Atkinson Date: Wed, 15 Jan 2025 19:38:04 +0000 Subject: [PATCH] run test from test directory. --- .github/workflows/test_suite_ubuntu.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_suite_ubuntu.yml b/.github/workflows/test_suite_ubuntu.yml index 063fc29..56493ff 100644 --- a/.github/workflows/test_suite_ubuntu.yml +++ b/.github/workflows/test_suite_ubuntu.yml @@ -56,14 +56,15 @@ jobs: # Build the code with cmake - name: Build test suite run: | - export TEST_DIR=$(pwd)/tests - cd ${TEST_DIR} + cd tests/ mkdir build cd build cmake .. cmake --build . + ./test_CAM_interface # Run the test suites - name: Test suite run: | + cd tests/build ./test_CAM_interface