Browse Source

Unit test: try to locate test.log file on Travis and AppVeyor

bel2125 7 years ago
parent
commit
223e64fb30
2 changed files with 3 additions and 2 deletions
  1. 2 1
      .travis.yml
  2. 1 1
      appveyor.yml

+ 2 - 1
.travis.yml

@@ -102,8 +102,9 @@ script:
       make -f Makefile.osx package;
     else
       CTEST_OUTPUT_ON_FAILURE=1 make all test;
-      cat test.log;
+#      cat test.log;
     fi
+  - tree
 
 # Coveralls options: https://github.com/eddyxu/cpp-coveralls/blob/master/README.md
 after_success:

+ 1 - 1
appveyor.yml

@@ -364,7 +364,7 @@ test_script:
   - set CTEST_OUTPUT_ON_FAILURE=1
   - cmd /c "%test%" & set "test_ret=%ERRORLEVEL%"
   - echo "Test returned %test_ret%"
-  - echo test.log
+  - dir /s test.log
   - cd "%source_path%"
   - set "output_path=%source_path%\output"
   - set "build_path=%output_path%\build"