Mercurial > hg
changeset 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 | df78b1a24094 |
children | b0c97e44576f |
files | tests/test-profile.t |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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