Commit 760cf39 1 parent 0a08374 commit 760cf39 Copy full SHA for 760cf39
File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ namespace Corrade {
77
77
executable is kept in `/data/local/tmp` so it's possible to debug it
78
78
manually later. See the @ref TestSuite-Tester-running-cmake "Android testing docs"
79
79
for more information.
80
+ - Android tests ran through CTest have stderr redirected to stdout because
81
+ otherwise the `adb` bridge causes them to be extremely out-of-sync
80
82
81
83
@subsection corrade-changelog-latest-buildsystem Build system
82
84
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ for file in "$@"; do
83
83
done
84
84
85
85
# No comment. http://web.archive.org/web/20160806094132/https://code.google.com/p/android/issues/detail?id=3254
86
- adb shell ' cd ' $remote_tmpdir ' && ' $test_env ' ./' $filename_and_args ' ; echo -n ADB_IS_SHIT:$?' | tee $tmpdir /adb.retval | grep -v ADB_IS_SHIT
86
+ adb shell ' cd ' $remote_tmpdir ' && ' $test_env ' ./' $filename_and_args ' 2>&1 ; echo -n ADB_IS_SHIT:$?' | tee $tmpdir /adb.retval | grep -v ADB_IS_SHIT
87
87
returncode=$( grep ADB_IS_SHIT $tmpdir /adb.retval | cut -d' :' -f2)
88
88
89
89
# Clean up after ourselves -- remove the temporary directories both on local
You can’t perform that action at this time.
0 commit comments