[PATCH] D65853: Use ASSERT_THAT_ERROR instead of logAllUnhandledErrors/exit
Puyan Lotfi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 7 14:01:17 PDT 2019
plotfi added a comment.
plotfi at grendel:/mnt/nvme0/llvm-project$ build/tools/clang/unittests/DirectoryWatcher/./DirectoryWatcherTests --gtest_filter=DirectoryWatcherTest.AddFilesNote: Google Test filter = DirectoryWatcherTest.AddFiles
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from DirectoryWatcherTest
[ RUN ] DirectoryWatcherTest.AddFiles
/mnt/nvme0/llvm-project/clang/unittests/DirectoryWatcher/DirectoryWatcherTest.cpp:344: Failure
Value of: llvm::detail::TakeError(DW.takeError())
Expected: succeeded
Actual: failed (inotify_init1() error: Illegal seek)
[ FAILED ] DirectoryWatcherTest.AddFiles (3 ms)
[----------] 1 test from DirectoryWatcherTest (3 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (3 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] DirectoryWatcherTest.AddFiles
1 FAILED TEST
Is the output in the failure case. This seems fine to me.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65853/new/
https://reviews.llvm.org/D65853
More information about the cfe-commits
mailing list