# HG changeset patch # User Jun Wu # Date 2017-10-03 02:10:32 # Node ID 5b19f0442043fa067194a6095380b9e442ab1a9c # Parent df78b1a24094a89dd8678e05b9a96ebcc3c791af 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 diff --git a/tests/test-profile.t b/tests/test-profile.t --- a/tests/test-profile.t +++ b/tests/test-profile.t @@ -111,6 +111,7 @@ statprof can be used as a standalone mod $ cd .. +#if no-chg profiler extension could be loaded before other extensions $ cat > fooprof.py <