mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
We no longer need the platform-specific directories, so simplify the test organization. If you want to retain the `linux` directory for two tests, or not do this at all, just skip merging this PR. It's purely optional.
8 lines
227 B
Python
8 lines
227 B
Python
import os
|
|
|
|
|
|
def test(codeql, go, check_build_environment):
|
|
check_build_environment.source_root = "work"
|
|
os.environ["LGTM_INDEX_IMPORT_PATH"] = "test"
|
|
codeql.database.create(source_root="work", _assert_failure=True)
|