summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2019-11-03 15:54:58 +0800
committerJohn Hodge <tpg@mutabah.net>2019-11-03 15:54:58 +0800
commit66353070eba9236219a003023c428cb6f1d1de3e (patch)
tree9e0e02c257e97581caa83a88dd38562e81bbbc3e
parent0b2d92ce3e79f47ddf28be080245eca574828433 (diff)
downloadmrust-66353070eba9236219a003023c428cb6f1d1de3e.tar.gz
vsproject scripts - Slight fixes
-rw-r--r--vsproject/build_rustc_minicargo.cmd2
-rw-r--r--vsproject/run_tests.cmd9
2 files changed, 5 insertions, 6 deletions
diff --git a/vsproject/build_rustc_minicargo.cmd b/vsproject/build_rustc_minicargo.cmd
index af4ffb7b..4a164635 100644
--- a/vsproject/build_rustc_minicargo.cmd
+++ b/vsproject/build_rustc_minicargo.cmd
@@ -1,6 +1,6 @@
@call build_std.cmd
@if %errorlevel% neq 0 exit /b %errorlevel%
-@mkdir output\rustc-build
+@mkdir %OUTDIR%\rustc-build
x64\Release\minicargo.exe ..\rustc-%RUSTC_VERSION%-src\src\rustc -L %OUTDIR% --output-dir %OUTDIR%\rustc-build --vendor-dir ..\rustc-%RUSTC_VERSION%-src\src\vendor
@if %errorlevel% neq 0 exit /b %errorlevel% \ No newline at end of file
diff --git a/vsproject/run_tests.cmd b/vsproject/run_tests.cmd
index 1ce09b98..45788b0f 100644
--- a/vsproject/run_tests.cmd
+++ b/vsproject/run_tests.cmd
@@ -1,6 +1,5 @@
-@echo off
-call build_std.cmd
-if %errorlevel% neq 0 exit /b %errorlevel%
+@call build_std.cmd
+@if %errorlevel% neq 0 exit /b %errorlevel%
-mkdir output\tests\
-x64\Release\testrunner.exe ..\rustc-1.19.0-src\src\test\run-pass -o output\tests\ \ No newline at end of file
+@mkdir %OUTDIR%\tests\
+x64\Release\testrunner.exe ..\rustc-%RUSTC_VERSION%-src\src\test\run-pass -o %OUTDIR%\tests\ -L %OUTDIR% \ No newline at end of file