diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-08-17 22:47:29 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2016-08-17 22:47:29 +0300 |
commit | 62a9655508ebd66fbc47aabfbc708837dfe685dd (patch) | |
tree | 9c41bb33f19020669b3efe98e8a92e4435925250 /.ci.cmake | |
parent | fbb6c6d1d60dacf54567135daae9eaed7565ee71 (diff) |
Try Kitware's suggested fix for the cdash uploading problem
Diffstat (limited to '.ci.cmake')
-rw-r--r-- | .ci.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,8 +37,7 @@ if(WIN32) build/lib/Release/afio_dl-2.0-Windows-x64-Release.lib build/bin/Release/afio_dl-2.0-Windows-x64-Release.dll ) - execute_process(COMMAND cmd /c dir) - ctest_upload(FILES afio_v2_binaries_win64.tar.gz) + get_filename_component(toupload afio_v2_binaries_win64.tar.gz ABSOLUTE) endif() else() if(EXISTS build/bin/Release/afio_dl-2.0-Linux-x86_64-Release.so) @@ -51,9 +50,10 @@ else() build/lib/Release/afio_sl-2.0-Linux-x86_64-Release.a build/bin/Release/afio_dl-2.0-Linux-x86_64-Release.so ) - ctest_upload(FILES afio_v2_binaries_linux64.tgz) + get_filename_component(toupload afio_v2_binaries_linux64.tgz ABSOLUTE) endif() endif() +ctest_upload(FILES "${toupload}") ctest_submit() if(NOT retval EQUAL 0) message(FATAL_ERROR "FATAL: Running tests exited with ${retval}") |