Skip to content

Commit

Permalink
Merge pull request #17630 from smowton/smowton/admin/deduplicate-tests
Browse files Browse the repository at this point in the history
Go: deduplicate integration tests
  • Loading branch information
smowton authored Oct 1, 2024
2 parents 66d156d + be389b4 commit cb0b388
Show file tree
Hide file tree
Showing 19 changed files with 7 additions and 115 deletions.
4 changes: 0 additions & 4 deletions go/ql/integration-tests/test-extraction-autobuild/test.py

This file was deleted.

2 changes: 0 additions & 2 deletions go/ql/integration-tests/test-extraction-traced/src/Makefile

This file was deleted.

3 changes: 0 additions & 3 deletions go/ql/integration-tests/test-extraction-traced/src/go.mod

This file was deleted.

45 changes: 0 additions & 45 deletions go/ql/integration-tests/test-extraction-traced/src/go.sum

This file was deleted.

5 changes: 0 additions & 5 deletions go/ql/integration-tests/test-extraction-traced/src/testme.go

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions go/ql/integration-tests/test-extraction-traced/src/testme_test.go

This file was deleted.

9 changes: 0 additions & 9 deletions go/ql/integration-tests/test-extraction-traced/test.expected

This file was deleted.

4 changes: 0 additions & 4 deletions go/ql/integration-tests/test-extraction-traced/test.py

This file was deleted.

9 changes: 0 additions & 9 deletions go/ql/integration-tests/test-extraction-traced/test.ql

This file was deleted.

7 changes: 7 additions & 0 deletions go/ql/integration-tests/test-extraction/test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import os

def test_traced(codeql, go):
codeql.database.create(source_root="src", command="go test -c")

def test_autobuild(codeql, go):
codeql.database.create(source_root="src", extractor_option = ["extract_tests=true"])

0 comments on commit cb0b388

Please sign in to comment.