mirror of
https://github.com/github/codeql.git
synced 2026-04-20 22:44:52 +02:00
Go: Move integration test sources to subdirectories
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#select
|
||||
| src/test.go:0:0:0:0 | src/test.go |
|
||||
| src/todel.go:0:0:0:0 | src/todel.go |
|
||||
htmlFiles
|
||||
extractionErrors
|
||||
| Extraction failed in test.go with error \tother declaration of test | 2 |
|
||||
| Extraction failed in todel.go with error test redeclared in this block | 2 |
|
||||
#select
|
||||
| test.go:0:0:0:0 | test.go |
|
||||
| todel.go:0:0:0:0 | todel.go |
|
||||
|
||||
@@ -3,6 +3,6 @@ import sys
|
||||
from create_database_utils import *
|
||||
from diagnostics_test_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
check_diagnostics()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#select
|
||||
| src/test.go:0:0:0:0 | src/test.go |
|
||||
| src/todel.go:0:0:0:0 | src/todel.go |
|
||||
htmlFiles
|
||||
extractionErrors
|
||||
| Extraction failed in test.go with error \tother declaration of test | 2 |
|
||||
| Extraction failed in todel.go with error test redeclared in this block | 2 |
|
||||
#select
|
||||
| test.go:0:0:0:0 | test.go |
|
||||
| todel.go:0:0:0:0 | todel.go |
|
||||
|
||||
@@ -3,6 +3,6 @@ import sys
|
||||
from create_database_utils import *
|
||||
from diagnostics_test_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
check_diagnostics()
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#select
|
||||
| src/test.go:0:0:0:0 | src/test.go |
|
||||
htmlFiles
|
||||
extractionErrors
|
||||
#select
|
||||
| test.go:0:0:0:0 | test.go |
|
||||
|
||||
@@ -2,4 +2,4 @@ import sys
|
||||
|
||||
from create_database_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#select
|
||||
| src/test.go:0:0:0:0 | src/test.go |
|
||||
htmlFiles
|
||||
extractionErrors
|
||||
#select
|
||||
| test.go:0:0:0:0 | test.go |
|
||||
@@ -2,4 +2,4 @@ import sys
|
||||
|
||||
from create_database_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#select
|
||||
| src/test.go:0:0:0:0 | src/test.go |
|
||||
htmlFiles
|
||||
extractionErrors
|
||||
#select
|
||||
| test.go:0:0:0:0 | test.go |
|
||||
|
||||
@@ -2,4 +2,4 @@ import sys
|
||||
|
||||
from create_database_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#select
|
||||
| src/test.go:0:0:0:0 | src/test.go |
|
||||
htmlFiles
|
||||
extractionErrors
|
||||
#select
|
||||
| test.go:0:0:0:0 | test.go |
|
||||
|
||||
@@ -2,4 +2,4 @@ import sys
|
||||
|
||||
from create_database_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
@@ -3,6 +3,6 @@ import sys
|
||||
from create_database_utils import *
|
||||
from diagnostics_test_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
check_diagnostics()
|
||||
|
||||
@@ -3,6 +3,6 @@ import sys
|
||||
from create_database_utils import *
|
||||
from diagnostics_test_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
check_diagnostics()
|
||||
|
||||
@@ -3,6 +3,6 @@ import sys
|
||||
from create_database_utils import *
|
||||
from diagnostics_test_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
check_diagnostics()
|
||||
|
||||
@@ -3,6 +3,6 @@ import sys
|
||||
from create_database_utils import *
|
||||
from diagnostics_test_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
check_diagnostics()
|
||||
|
||||
@@ -3,6 +3,6 @@ import sys
|
||||
from create_database_utils import *
|
||||
from diagnostics_test_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
check_diagnostics()
|
||||
|
||||
@@ -3,6 +3,6 @@ import sys
|
||||
from create_database_utils import *
|
||||
from diagnostics_test_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
check_diagnostics()
|
||||
|
||||
@@ -3,6 +3,6 @@ import sys
|
||||
from create_database_utils import *
|
||||
from diagnostics_test_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="go")
|
||||
run_codeql_database_create([], lang="go", source="src")
|
||||
|
||||
check_diagnostics()
|
||||
|
||||
Reference in New Issue
Block a user