Skip to content

Commit 7a5a5d8

Browse files
committed
[Project] Minor scripts fixes
1 parent 3f09614 commit 7a5a5d8

File tree

5 files changed

+6
-10
lines changed

5 files changed

+6
-10
lines changed

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,10 @@ jobs:
6262

6363
- name: Run unit-tests (sequential backend)
6464
working-directory: ${{ env.build_dir }}
65-
run: bash scripts/tests_run_fallback.sh
65+
run: bash scripts/run_tests_fallback.sh
6666
shell: bash
6767

6868
- name: Run regression-tests (sequential backend)
69-
working-directory: ${{ env.build_dir }}
70-
run: |
71-
cd python
72-
export PYTHONPATH="`pwd`:$PYTHONPATH"
73-
cd tests
74-
python3 -m unittest discover -v
69+
working-directory: ${{ env.build_dir }}/python
70+
run: bash run_tests.sh
7571
shell: bash

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Configure build in Release mode with tests and run actual compilation process:
160160
```shell script
161161
$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCUBOOL_BUILD_TESTS=ON
162162
$ cmake --build . --target all -j `nproc`
163-
$ bash ./scripts/tests_run_all.sh
163+
$ bash ./scripts/run_tests_all.sh
164164
```
165165

166166
By default, the following cmake options will be automatically enabled:

python/run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export PYTHONPATH=":`pwd`$PYTHONPATH"
1+
export PYTHONPATH="`pwd`:$PYTHONPATH"
22
cd tests
3-
python3 -m unittests discover -v
3+
python3 -m unittest discover -v
44
cd ..
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)