[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.6-63-g5f0bac5



The following commit has been merged in the master branch:
commit 5f0bac5e1614e98cba9da2cdbcfac3666bdfd2a3
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Apr 6 16:44:47 2012 +0200

    testset/runtests: Remove initial "done" message
    
    The legacy test suite always print "done" to start with for no
    apparent reason.  Instead have private/runtests print a much
    more visible "separator" between legacy and the "new" test
    suite.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/private/runtests b/private/runtests
index 0c40673..49f0070 100755
--- a/private/runtests
+++ b/private/runtests
@@ -68,6 +68,7 @@ if [ "${NEW_SUITE}" = 1 ] ; then
     t/runtests --dump-logs -k $PARALLEL_ARGS t "$TEST_WORK_DIR" "$@"
 fi
 if [ "$TAG" = "" ] ; then
+    echo " --- LEGACY TEST SUITE ---"
     testset/runtests -k testset "$TEST_WORK_DIR" "$@"
 fi
 
diff --git a/testset/runtests b/testset/runtests
index f5b5199..1c0f4b7 100755
--- a/testset/runtests
+++ b/testset/runtests
@@ -154,13 +154,6 @@ for my $tag ($profile->tags (1)){
 
 undef $profile; # Don't need it any more.
 
-if ($testok) {
-    print "done.\n";
-} else {
-    print "FAILED!\n";
-    exit 1 unless $run_all_tests;
-}
-
 # ok, I can make a static lab, now let's test the package checks
 # in temporary labs
 my @tests;

-- 
Debian package checker


Reply to: