Go: Move integration test sources to subdirectories

This commit is contained in:
Michael B. Gale
2024-01-17 13:11:25 +00:00
parent b7a7963d05
commit afc673324f
91 changed files with 27 additions and 27 deletions

View File

@@ -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 |

View File

@@ -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()

View File

@@ -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 |

View File

@@ -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()

View File

@@ -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 |

View File

@@ -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")

View File

@@ -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 |

View File

@@ -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")

View File

@@ -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 |

View File

@@ -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")

View File

@@ -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 |

View File

@@ -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")

View File

@@ -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()

View File

@@ -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()

View File

@@ -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()

View File

@@ -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()

View File

@@ -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()

View File

@@ -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()

View File

@@ -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()