test-profile: gate chg-incompatible part with '#if chg'
authorJun Wu <quark@fb.com>
Mon, 02 Oct 2017 19:10:32 -0700
changeset 34445 5b19f0442043
parent 34444 df78b1a24094
child 34446 b0c97e44576f
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
tests/test-profile.t
--- 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