Mercurial > hg
diff tests/test-profile.t @ 34445:5b19f0442043
test-profile: gate chg-incompatible part with '#if chg'
chg has a different extension loading logic, which affects the profiler
extension test case. Gate the block with '#if chg' so the test passes with
chg.
Differential Revision: https://phab.mercurial-scm.org/D916
author | Jun Wu <quark@fb.com> |
---|---|
date | Mon, 02 Oct 2017 19:10:32 -0700 |
parents | a72b2db1a6a9 |
children | 4441705b7111 |
line wrap: on
line diff
--- a/tests/test-profile.t Mon Oct 02 18:22:43 2017 -0700 +++ b/tests/test-profile.t Mon Oct 02 19:10:32 2017 -0700 @@ -111,6 +111,7 @@ $ cd .. +#if no-chg profiler extension could be loaded before other extensions $ cat > fooprof.py <<EOF @@ -158,3 +159,4 @@ unrecognized profiler 'unknown' - ignored $ cd .. +#endif