Skip to content

Commit

Permalink
Go: deduplicate integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smowton committed Sep 30, 2024
1 parent 70b4ecf commit be389b4
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 be389b4

Please sign in to comment.