diff --git a/python/extractor/cli-integration-test/.gitignore b/python/extractor/cli-integration-test/.gitignore deleted file mode 100644 index 9c021a4450e4..000000000000 --- a/python/extractor/cli-integration-test/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -*/db/ -*/dbs/ -*/venv/ -**/*.egg-info/ -*/.cache -**/trap/ -**/*.testproj/ \ No newline at end of file diff --git a/python/extractor/cli-integration-test/README.md b/python/extractor/cli-integration-test/README.md deleted file mode 100644 index 4da21247ebc3..000000000000 --- a/python/extractor/cli-integration-test/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Extractor Python CodeQL CLI integration tests - -To ensure that the two work together as intended, and as an easy way to set up realistic test-cases. - - -### Adding a new test case - -Add a new folder, place a file called `test.sh` in it, which should start with the code below. The script should exit with failure code to fail the test. - -```bash -#!/bin/bash - -set -Eeuo pipefail # see https://vaneyckt.io/posts/safer_bash_scripts_with_set_euxo_pipefail/ - -set -x - -CODEQL=${CODEQL:-codeql} - -SCRIPTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -cd "$SCRIPTDIR" -``` diff --git a/python/extractor/cli-integration-test/run-all-tests.sh b/python/extractor/cli-integration-test/run-all-tests.sh deleted file mode 100755 index be1e34af6af3..000000000000 --- a/python/extractor/cli-integration-test/run-all-tests.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -# All tests have moved to python/ql/integration-tests and are run by pytest. -exit 0 diff --git a/python/extractor/pytest.ini b/python/extractor/pytest.ini index 632ca92b9a15..ba9144de9480 100644 --- a/python/extractor/pytest.ini +++ b/python/extractor/pytest.ini @@ -1,5 +1,4 @@ [pytest] -addopts = --ignore=cli-integration-test/ testpaths = tests filterwarnings = ; see https://docs.python.org/3/library/warnings.html#the-warnings-filter