From e214d86076b2ebc12106d5a7e87744b361881312 Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Tue, 11 Oct 2016 00:01:22 +0200 Subject: [PATCH] Batch file for regression tests for Windows added. This batch file will execute the new regression tests, for now this only inclues `shapes.py`. Also added the execution of this file to the Appveyor configuration. --- appveyor.yml | 6 ++++++ tests/regression_tests/regression_tests.bat | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 tests/regression_tests/regression_tests.bat diff --git a/appveyor.yml b/appveyor.yml index 7873ccaa6..005346816 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -69,6 +69,12 @@ build_script: rm Release\Graphviz\bin\*.ipdb; rm Release\Graphviz\bin\*.ilk; } + + # Append build destination to the PATH, configure dot and execute regression tests + $env:Path += ";" + $env:APPVEYOR_BUILD_FOLDER + "\" + $env:configuration + "\Graphviz\bin"; + dot -c; + cd tests\regression_tests; + ./regression_tests.bat; } if ($env:compiler -eq "msys2" -Or $env:compiler -eq "cygwin") { diff --git a/tests/regression_tests/regression_tests.bat b/tests/regression_tests/regression_tests.bat new file mode 100644 index 000000000..c762b174d --- /dev/null +++ b/tests/regression_tests/regression_tests.bat @@ -0,0 +1,4 @@ +@ECHO OFF + +cd shapes +python shapes.py -- 2.40.0