Skip to content
Browse files

Add a hidden environment flag to break builds when the C extensions fail

Change-Id: Ic3e30db0911d1899c30a955b5fd692da1be7f7c7
  • Loading branch information...
1 parent 8724436 commit d5e6ce97204ac5ca02b0149072b0b631b9c115a2 @rtyler committed Apr 10, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0
@@ -159,6 +159,8 @@ def run_setup(configurations):
except BuildFailed, x:
print("One or more C extensions failed to build.")
print("Details: %s" % x)
+ if os.environ.get('CHEETAH_C_EXTENSIONS_REQUIRED'):
+ raise x
print("Retrying without C extensions enabled.")
del kws['ext_modules']

0 comments on commit d5e6ce9

Please sign in to comment.
Something went wrong with that request. Please try again.