Patchwork D916: test-profile: gate chg-incompatible part with '#if chg'

login
register
mail settings
Submitter phabricator
Date Oct. 4, 2017, 1:16 p.m.
Message ID <638e8e14ce9e38e0bf72030f3b3678b5@localhost.localdomain>
Download mbox | patch
Permalink /patch/24461/
State Not Applicable
Headers show

Comments

phabricator - Oct. 4, 2017, 1:16 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5b19f0442043: test-profile: gate chg-incompatible part with &#039;#if chg&#039; (authored by quark, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D916?vs=2371&id=2401

REVISION DETAIL
  https://phab.mercurial-scm.org/D916

AFFECTED FILES
  tests/test-profile.t

CHANGE DETAILS




To: quark, #hg-reviewers
Cc: mercurial-devel

Patch

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 @@ 
 
   $ 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