mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Deflake custom_fork_server test
PiperOrigin-RevId: 256149331 Change-Id: I68cfd64ee602757235e6c6d602819a79ae4826fb
This commit is contained in:
parent
732252922a
commit
6d782dd774
|
@ -110,6 +110,14 @@ int main(int argc, char** argv) {
|
|||
gflags::ParseCommandLineFlags(&argc, &argv, true);
|
||||
google::InitGoogleLogging(argv[0]);
|
||||
|
||||
// This test is incompatible with sanitizers.
|
||||
// The `SKIP_SANITIZERS_AND_COVERAGE` macro won't work for us here since we
|
||||
// need to return something.
|
||||
#if defined(ADDRESS_SANITIZER) || defined(MEMORY_SANITIZER) || \
|
||||
defined(THREAD_SANITIZER)
|
||||
return EXIT_SUCCESS;
|
||||
#endif
|
||||
|
||||
// Start a custom fork-server (via sandbox2::Executor).
|
||||
const std::string path = sandbox2::GetInternalDataDependencyFilePath(
|
||||
"sandbox2/examples/custom_fork/custom_fork_bin");
|
||||
|
|
Loading…
Reference in New Issue
Block a user