]> granicus.if.org Git - fortune-mod/commitdiff
avoid confusing.
authorShlomi Fish <shlomif@shlomifish.org>
Sun, 30 Jun 2019 11:24:42 +0000 (14:24 +0300)
committerShlomi Fish <shlomif@shlomifish.org>
Sun, 30 Jun 2019 11:24:42 +0000 (14:24 +0300)
.appveyor.yml
fortune-mod/run-tests.pl

index 57dda77bccdae2733f60a01c16d68d031a1ca466..2413b2f716a744fb4053f20043246a4685358521 100644 (file)
@@ -30,6 +30,7 @@ test_script:
     - set PATH=%PATH%;c:\mingw64\lib;c:\msys64\mingw64\lib
     # Python3 confuses the recode build so only add it here.
     - SET PATH=%PATH%;C:\Python35-x64
+    - SET FORTUNE_TEST_DEBUG=1
     - perl CI-testing/continuous-integration-testing.pl --gen="MSYS Makefiles"
 cache:
    - C:\msys64\mingw64
index 8c01baf8fb5faa4421710f05a85761e46ed1d45e..304f54f1ffcba02f14f379a4f87ece66e19a8b46 100644 (file)
@@ -42,5 +42,8 @@ if (0)
 eval { do_system( { cmd => [ 'prove', glob("$src_dir/tests/t/*.t") ] } ); };
 
 my $E = $@;
-system( "python", "$src_dir/tests/fortune-m-test.py" );
+if ( $ENV{FORTUNE_TEST_DEBUG} )
+{
+    system( "python", "$src_dir/tests/fortune-m-test.py" );
+}
 exit( $E ? 1 : 0 );