Commit 48f70c58 authored by Chad Austin's avatar Chad Austin Committed by Facebook Github Bot

require FOLLY_SKIP_AS_FAILURE to be 1

Summary: yfeldblum says convention here is 1 or empty (or 0).

Reviewed By: yfeldblum

Differential Revision: D15271809

fbshipit-source-id: 528e4143eaa8ee86807b06c824b3d84a586ec69c
parent 6a80914d
...@@ -148,7 +148,7 @@ namespace detail { ...@@ -148,7 +148,7 @@ namespace detail {
inline bool skipIsFailure() { inline bool skipIsFailure() {
const char* p = getenv("FOLLY_SKIP_AS_FAILURE"); const char* p = getenv("FOLLY_SKIP_AS_FAILURE");
return p && (0 == strcmp(p, "1") || 0 == strcmp(p, "true")); return p && (0 == strcmp(p, "1"));
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment