From 3d759924004f9dfb2d88226568bd36ab4b370e1d Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Fri, 10 Dec 2010 11:32:12 -0500 Subject: [PATCH] Re-fix the drr test on windows. --- collects/meta/build/build | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/collects/meta/build/build b/collects/meta/build/build index 545df0a88f..8858a4777f 100755 --- a/collects/meta/build/build +++ b/collects/meta/build/build @@ -1225,9 +1225,14 @@ DO_BUILD() { # inputs -- releasing # GRacket-based tests on the main machine, in an Xvnc session if [[ "$test_gui" = "yes" ]]; then separator "${machine}(${platform}) testing DrRacket" - if [[ "$platform" != *"-win32" ]]; then _start_xvnc; fi - dont_exit _timeout_run 60 env HOME="$testdir" "$PLTHOME/$drtestscript" - if [[ "$platform" != *"-win32" ]]; then _end_xvnc; fi + if [[ "$platform" = *"-win32" ]]; then + dont_exit _timeout_run 120 "$PLTHOME/gracket.exe" \ + "$(cygpath -w "$PLTHOME/$drtestscript")" + else + _start_xvnc + dont_exit _timeout_run 60 env HOME="$testdir" "$PLTHOME/$drtestscript" + _end_xvnc + fi fi ## --------------------------------------------------------------------------