diff tests/test-stablerange.t @ 5991:79a63cc9757e

tests: add the other methods for debugstablerange as test cases
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 29 Jun 2021 12:46:28 +0300
parents 39739c2257e3
children eb1333a0c290
line wrap: on
line diff
--- a/tests/test-stablerange.t	Tue Jun 29 12:16:17 2021 +0300
+++ b/tests/test-stablerange.t	Tue Jun 29 12:46:28 2021 +0300
@@ -8,9 +8,30 @@
   > evolve =
   > [ui]
   > logtemplate = "{rev} {node|short} {desc} {tags}\n"
+  > EOF
+
+#testcases default basic-mergepoint mergepoint
+
+#if default
+  $ cat << EOF >> $HGRCPATH
   > [defaults]
   > debugstablerange = --method default
   > EOF
+#endif
+
+#if basic-mergepoint
+  $ cat << EOF >> $HGRCPATH
+  > [defaults]
+  > debugstablerange = --method basic-mergepoint
+  > EOF
+#endif
+
+#if mergepoint
+  $ cat << EOF >> $HGRCPATH
+  > [defaults]
+  > debugstablerange = --method mergepoint
+  > EOF
+#endif
 
 Simple linear test
 ==================