Patchwork [03,of,11,FOR-REFERENCE] test: introduce test-run-tests.py

login
register
mail settings
Submitter Pierre-Yves David
Date June 2, 2014, 7:54 p.m.
Message ID <99716afc4e76e98114a3.1401738878@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/4915/
State Not Applicable
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 1401476989 25200
#      Fri May 30 12:09:49 2014 -0700
# Node ID 99716afc4e76e98114a320793933d9a2d3a48e1f
# Parent  a08cdc8703febdecf6ec43d784357f9122989385
test: introduce test-run-tests.py

This testfile test the test runner itself. There was multiple regression in the
last weeks. Having tests would prevent in the future.

Patch

diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t
new file mode 100644
--- /dev/null
+++ b/tests/test-run-tests.t
@@ -0,0 +1,8 @@ 
+This file tests the behavior of run-tests.py itself.
+
+Smoke test
+============
+
+  $ $TESTDIR/run-tests.py
+  
+  # Ran 0 tests, 0 skipped, 0 warned, 0 failed.