security/nss/tests/libpkix/pkix_tests/util/runTests.sh

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rwxr-xr-x

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 #!/bin/sh
     2 # 
     3 # This Source Code Form is subject to the terms of the Mozilla Public
     4 # License, v. 2.0. If a copy of the MPL was not distributed with this
     5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     6 #
     7 # runTests.sh
     8 #
    10 curdir=`pwd`
    11 cd ../../common
    12 . ./libpkix_init.sh > /dev/null
    13 cd ${curdir}
    15 numtests=0
    16 passed=0
    17 testunit=UTIL
    19 ##########
    20 # main
    21 ##########
    23 ParseArgs $*
    25 RunTests <<EOF
    26 pkixutil test_error
    27 pkixutil test_list
    28 pkixutil test_list2
    29 EOF
    31 totalErrors=$?
    32 html_msg ${totalErrors} 0 "&nbsp;&nbsp;&nbsp;${testunit}: passed ${passed} of ${numtests} tests"
    33 exit ${totalErrors}

mercurial