Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[appveyor] close stdin to avoid issues (hopefully)
authorMartin Quinson <martin.quinson@loria.fr>
Wed, 7 Oct 2015 13:13:25 +0000 (15:13 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Wed, 7 Oct 2015 13:13:25 +0000 (15:13 +0200)
appveyor.yml

index b44b337..c44f286 100644 (file)
@@ -45,8 +45,14 @@ build_script:
 - if not [%COMPILER%]==[MSVC15] mingw32-make VERBOSE=1
 - cd C:/projects/simgrid/examples/java && java -classpath ".;../../simgrid.jar" masterslave.Masterslave ../platforms/platform.xml masterslave/masterslaveDeployment.xml || true
 
 - if not [%COMPILER%]==[MSVC15] mingw32-make VERBOSE=1
 - cd C:/projects/simgrid/examples/java && java -classpath ".;../../simgrid.jar" masterslave.Masterslave ../platforms/platform.xml masterslave/masterslaveDeployment.xml || true
 
+
+# Using bash explicitely and closing STDIN is an attempt to avoid this error:
+#   Test project C:/projects/simgrid
+#        Start   1: mc-replay-random-bug
+#   ^CTerminate batch job (Y/N)?
+# How dafuq am I supposed to press N on appveyor??
 test_script:
 test_script:
-- cd C:/projects/simgrid && ctest --output-on-failure || true
+- bash -c "cd C:/projects/simgrid; exec 0</dev/null; ctest --output-on-failure" || true
 
 artifacts:
 - path: simgrid.jar
 
 artifacts:
 - path: simgrid.jar