mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
doc: avoid using Posix-specific search-path separator
This commit is contained in:
@@ -69,7 +69,7 @@ Although we have some automated testing of the scripts (e.g. to test that you ca
|
||||
To test the upgrade script, run:
|
||||
|
||||
```
|
||||
codeql test run --search-path=<old-extractor-pack>;ql <test-dir>
|
||||
codeql test run --search-path=<old-extractor-pack> --search-path=ql <test-dir>
|
||||
```
|
||||
|
||||
Where `<old-extractor-pack>` is an extractor pack containing the old extractor and dbscheme that pre-date your changes, and `<test-dir>` is the directory containing the qltests for your language. This will run the tests using an old extractor, and the test databases will all be upgraded in place using your new upgrade script.
|
||||
@@ -77,7 +77,7 @@ Where `<old-extractor-pack>` is an extractor pack containing the old extractor a
|
||||
To test the downgrade script, create an extractor pack that includes your new dbscheme and extractor changes. Then checkout the `main` branch of `codeql` (i.e. a branch that does not include your changes), and run:
|
||||
|
||||
```
|
||||
codeql test run --search-path=<new-extractor-pack>;ql <test-dir>
|
||||
codeql test run --search-path=<new-extractor-pack> --search-path=ql <test-dir>
|
||||
```
|
||||
|
||||
This will run the tests using your new extractor, and the databases will be downgraded using your new downgrade script so that they match the dbscheme of the `main` branch.
|
||||
|
||||
Reference in New Issue
Block a user