mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Revert change to unit test runner grep option (#16980)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
set "ADS_TEST_GREP=(@UNSTABLE@|Unexpected Errors & Loader Errors)"
|
||||
set "ADS_TEST_GREP=/(@UNSTABLE@|Unexpected Errors & Loader Errors)/"
|
||||
set ADS_TEST_INVERT_GREP=
|
||||
|
||||
echo Running UNSTABLE ADS Core Tests
|
||||
|
||||
@@ -12,7 +12,7 @@ fi
|
||||
|
||||
cd $ROOT
|
||||
|
||||
export ADS_TEST_GREP=@UNSTABLE@
|
||||
export ADS_TEST_GREP=/(@UNSTABLE@|Unexpected Errors & Loader Errors)/
|
||||
export ADS_TEST_INVERT_GREP=
|
||||
|
||||
echo Running UNSTABLE ADS Core Tests
|
||||
|
||||
@@ -296,10 +296,9 @@ function runTests(opts) {
|
||||
}
|
||||
|
||||
return loadTests(opts).then(() => {
|
||||
|
||||
if (opts.grep) {
|
||||
// {{SQL CARBON EDIT}}
|
||||
mocha.grep(new RegExp(opts.grep));
|
||||
mocha.grep(opts.grep);
|
||||
// {{SQL CARBON EDIT}} Add invert option
|
||||
if (opts.invert) {
|
||||
mocha.invert();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user