Skip to content
Browse files

add buck option to allow selectively disable test for CI

Summary: add buck option to allow selectively disable test

Reviewed By: andrewjcg

Differential Revision: D7360106

fbshipit-source-id: 78db5c6b01e2c71be0f3b723bf55cf12354ddedd
  • Loading branch information
tracelogfb authored and hhvm-bot committed Mar 22, 2018
1 parent 37d1d8c commit f9b95a945c217ba55c8904fb0ad63e457eec0146
Showing with 10 additions and 0 deletions.
  1. +10 −0 hphp/test/DEFS
@@ -9,6 +9,16 @@ def verify_unittest(suite, repo, dir, mode='interp,jit',
cli_server=0, hhcodegen=False, use_hackc=False,
hhas_roundtrip=False, target_suffix='',
extra_args=[], blacklist=None):

# hphp_skip_repo_test and hphp_skip_non_repo_test let us enable or disable
# tests based on repo mode. This is useful to shard our tests into different
# sets for CI runs.
if repo and read_config('fbcode', 'hphp_skip_repo_test'):

if not repo and read_config('fbcode', 'hphp_skip_non_repo_test'):

target_name = 'verify_' + suite + '_' + mode + \
('_repo' if repo else '') + \
('_relocate' if relocate else '') + \

0 comments on commit f9b95a9

Please sign in to comment.