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
|
@echo off
|
||||||
setlocal
|
setlocal
|
||||||
|
|
||||||
set "ADS_TEST_GREP=(@UNSTABLE@|Unexpected Errors & Loader Errors)"
|
set "ADS_TEST_GREP=/(@UNSTABLE@|Unexpected Errors & Loader Errors)/"
|
||||||
set ADS_TEST_INVERT_GREP=
|
set ADS_TEST_INVERT_GREP=
|
||||||
|
|
||||||
echo Running UNSTABLE ADS Core Tests
|
echo Running UNSTABLE ADS Core Tests
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ fi
|
|||||||
|
|
||||||
cd $ROOT
|
cd $ROOT
|
||||||
|
|
||||||
export ADS_TEST_GREP=@UNSTABLE@
|
export ADS_TEST_GREP=/(@UNSTABLE@|Unexpected Errors & Loader Errors)/
|
||||||
export ADS_TEST_INVERT_GREP=
|
export ADS_TEST_INVERT_GREP=
|
||||||
|
|
||||||
echo Running UNSTABLE ADS Core Tests
|
echo Running UNSTABLE ADS Core Tests
|
||||||
|
|||||||
@@ -296,10 +296,9 @@ function runTests(opts) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return loadTests(opts).then(() => {
|
return loadTests(opts).then(() => {
|
||||||
|
|
||||||
if (opts.grep) {
|
if (opts.grep) {
|
||||||
// {{SQL CARBON EDIT}}
|
mocha.grep(opts.grep);
|
||||||
mocha.grep(new RegExp(opts.grep));
|
// {{SQL CARBON EDIT}} Add invert option
|
||||||
if (opts.invert) {
|
if (opts.invert) {
|
||||||
mocha.invert();
|
mocha.invert();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user