refactor: restructure the tests directory layout

This commit is contained in:
Quentin Bourgerie
2022-07-02 12:45:42 +02:00
parent 5668e447e7
commit 2cfccd8f89
123 changed files with 304 additions and 175 deletions

View File

@@ -54,7 +54,7 @@ jobs:
pip install pytest
export CONCRETE_PROJECT=/concrete
make -B BUILD_DIR=/build build-initialized
make BUILD_DIR=/build test
make BUILD_DIR=/build run-tests
- name: Send Slack Notification
if: ${{ always() }}

View File

@@ -127,7 +127,7 @@ jobs:
rm -rf /build
/opt/python/cp38-cp38/bin/pip install pytest
sed "s/pytest/\/opt\/python\/cp38-cp38\/bin\/python -m pytest/g" -i Makefile
make CXX_COMPILER=/gcc7/bin/g++-7.5.0 CC_COMPILER=/gcc7/bin/gcc-7.5.0 CCACHE=ON Python3_EXECUTABLE=/opt/python/cp38-cp38/bin/python BUILD_DIR=/build all test
make CXX_COMPILER=/gcc7/bin/g++-7.5.0 CC_COMPILER=/gcc7/bin/gcc-7.5.0 CCACHE=ON Python3_EXECUTABLE=/opt/python/cp38-cp38/bin/python BUILD_DIR=/build all run-tests
echo "Debug: ccache statistics (after the build):"
ccache -s
chmod -R ugo+rwx /tmp/KeySetCache
@@ -272,7 +272,7 @@ jobs:
id: tmpdir-path
run: echo "::set-output name=TMPDIR_PATH::`echo $TMPDIR`"
# We do run test-check as part of the build, as they aren't that costly
# We do run run-check-tests as part of the build, as they aren't that costly
# and will at least give minimum confidence that the compiler works in PRs
- name: Build
run: |
@@ -280,7 +280,7 @@ jobs:
echo "Debug: ccache statistics (prior to the build):"
ccache -s
export CONCRETE_PROJECT=${{ github.workspace }}/concrete
make all test-check
make all run-check-tests
echo "Debug: ccache statistics (after the build):"
ccache -s
@@ -359,7 +359,7 @@ jobs:
pip install pytest
rm -rf /build
export PYTHONPATH=""
make PARALLEL_EXECUTION_ENABLED=ON CCACHE=ON BUILD_DIR=/build test test-dataflow
make PARALLEL_EXECUTION_ENABLED=ON CCACHE=ON BUILD_DIR=/build run-tests run-end-to-end-dataflow-tests
echo "Debug: ccache statistics (after the build):"
ccache -s
chmod -R ugo+rwx /tmp/KeySetCache

View File

@@ -39,7 +39,7 @@ jobs:
run: |
cd /compiler
pip install pytest
make BUILD_DIR=/build test
make BUILD_DIR=/build run-tests
- name: Update Custom LLVM
uses: ad-m/github-push-action@master