Patchwork [08,of,11,FOR-REFERENCE] test-run-tests.t: test --debug option

login
register
mail settings
Submitter Pierre-Yves David
Date June 2, 2014, 7:54 p.m.
Message ID <dc6d787b019c310f4d59.1401738883@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/4921/
State Accepted
Commit d72bea858cbd823db3e439d8fd477cc9a2cb3ab7
Headers show

Comments

Pierre-Yves David - June 2, 2014, 7:54 p.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@fb.com>
# Date 1401477111 25200
#      Fri May 30 12:11:51 2014 -0700
# Node ID dc6d787b019c310f4d5963fcdfec8f25cbe13a76
# Parent  15663bc0d4cc8faed1b10d0938c9361cd138009b
test-run-tests.t: test --debug option

Patch

diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t
--- a/tests/test-run-tests.t
+++ b/tests/test-run-tests.t
@@ -86,5 +86,24 @@  failed
   !
   Failed test-failure.t: output changed
   # Ran 1 tests, 0 skipped, 0 warned, 1 failed.
   python hash seed: * (glob)
   [1]
+
+Running In Debug Mode
+======================
+
+  $ $TESTDIR/run-tests.py --with-hg=`which hg` --debug
+  + echo SALT* 0 0 (glob)
+  SALT* 0 0 (glob)
+  + echo babar
+  babar
+  + echo SALT* 2 0 (glob)
+  SALT* 2 0 (glob)
+  .+ echo SALT* 0 0 (glob)
+  SALT* 0 0 (glob)
+  + echo babar
+  babar
+  + echo SALT* 2 0 (glob)
+  SALT* 2 0 (glob)
+  .
+  # Ran 2 tests, 0 skipped, 0 warned, 0 failed.