Fix unit tests to execute successfully

The unit tests were not started in the expected directory and
basically wiping the source so there was nothing to run.

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Rob Crittenden 2024-07-01 11:40:27 -04:00
parent ce8f5b331e
commit c92131b319

View File

@ -10,11 +10,8 @@
- python3-ply
tests:
- unittests:
dir: "source/python3"
dir: ./source/test
run: >-
rm -rf ply* &&
pushd test &&
./cleanup.sh &&
python3 testlex.py &&
python3 testyacc.py &&
popd
python3 testyacc.py