run test.py with --rebuild_native_modules (#13570)

Fixes script\verify-ffmpeg crash
This commit is contained in:
John Kleinschmidt 2018-07-05 17:53:11 -04:00 committed by Charles Kerr
parent cb6ab4de20
commit 5aa136a23d

View file

@ -46,7 +46,7 @@ test_script:
Write-Output "Skipping tests for release build" Write-Output "Skipping tests for release build"
} else { } else {
Write-Output "Running tests for debug build" Write-Output "Running tests for debug build"
python script\test.py --ci python script\test.py --ci --rebuild_native_modules
if ($LASTEXITCODE -ne '0') { if ($LASTEXITCODE -ne '0') {
throw "Tests failed with exit code $LASTEXITCODE" throw "Tests failed with exit code $LASTEXITCODE"
} else { } else {