Fix: Remove test runner script
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 27 Mar 2013 14:18:05 +0000 (10:18 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 27 Mar 2013 14:18:05 +0000 (10:18 -0400)
Deprecated by the use of Perl prove and test lists.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/Makefile.am
tests/README
tests/runtests [deleted file]
tests/test_loop

index 6f9b969ccddbbb23fc01201d0b4a902e2a0bd3a7..425440a5160890101a31c00bc76c4d615d69305e 100644 (file)
@@ -4,7 +4,7 @@ if CXX_WORKS
 SUBDIRS += hello.cxx
 endif
 
-dist_noinst_SCRIPTS = test_loop runtests trace_matches
+dist_noinst_SCRIPTS = test_loop run.sh trace_matches unit_tests
 
 noinst_LIBRARIES = libtap.a
 
index 1c920eb77241b3fee59930ce257b3bc4aecb079c..5f1da32f88b83a0a7879c43be10d04c49f56885b 100644 (file)
@@ -1,8 +1,8 @@
 Using the ust test suite.
 
 Running
-       ./runtests
-runs all the tests once. The output is in TAP format.
+       ./run.sh unit_tests
+runs all the tests once.
 
 Running
        ./test_loop
diff --git a/tests/runtests b/tests/runtests
deleted file mode 100755 (executable)
index 8f5c874..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-#
-# Copyright 2010 Ericsson AB
-#
-#    This file is part of LTTng-UST.
-#
-#    LTTng-UST is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, either version 2 of the License, or
-#    (at your option) any later version.
-#
-#    LTTng-UST is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with LTTng-UST.  If not, see <http://www.gnu.org/licenses/>.
-
-
-tests_failed=0
-
-TESTDIR=$(dirname $0)
-
-function simple_harness_run() {
-    if ! "$TESTDIR/$@"; then
-       let tests_failed=$tests_failed+1
-    fi
-}
-
-./${TEST_DIR}/snprintf/run
-
-# This testcase is currently broken, do not run.
-# simple_harness_run tracepoint/run
-
-exit 0
index 619b1e35c215974328080977041518d35f4dac81..be3e16c4e493c714bd49f5c483f4d088d51bafe6 100755 (executable)
@@ -3,7 +3,7 @@
 DIR=$(dirname $0)
 
 while [ 0 ]; do
-       $DIR/runtests
+       $DIR/run.sh $DIR/unit_tests
        if [ "$?" != "0" ]; then
                break;
        fi
This page took 0.027234 seconds and 4 git commands to generate.