diff tests/test-run-tests.t @ 28812:f1de5a612a74

run-tests: handle empty tests
author timeless <timeless@mozdev.org>
date Tue, 05 Apr 2016 04:26:20 +0000
parents 3bce3d2fd727
children fa9fae9a9372
line wrap: on
line diff
--- a/tests/test-run-tests.t	Tue Jan 12 09:30:57 2016 +0000
+++ b/tests/test-run-tests.t	Tue Apr 05 04:26:20 2016 +0000
@@ -42,6 +42,15 @@
   $ rm hg
 #endif
 
+an empty test
+=======================
+
+  $ touch test-empty.t
+  $ rt
+  .
+  # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
+  $ rm test-empty.t
+
 a succesful test
 =======================