Source-Changes archive

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

CVS commit: othersrc/external/bsd/sqlite3db/bin



Module Name:    othersrc
Committed By:   agc
Date:           Tue May 31 20:34:01 UTC 2016

Added Files:
        othersrc/external/bsd/sqlite3db/bin: Testspec

Log Message:
Add a Testspec file which can be used by human2atf to derive the unit tests.

The Testspec file is derived from the Makefile tests. It includes 2 examples
of on-the-fly gzip(1) compression of large test files.

Running the generated test script produces the following output:

        [23:28:33] agc@netbsd-002 ...tests/usr.bin/sqlite3db [3696] > sudo make test
        *** WARNING: make test is experimental
        ***
        *** Using this test does not preclude you from running the tests
        *** installed in /usr/tests.  This test run may raise false
        *** positives and/or false negatives.

        Tests root: /usr/tests/usr.bin/sqlite3db

        t_sqlite3db (1/1): 6 test cases
            sqlite3db_testset_1_basic_test_set: [0.046954s] Passed.
            sqlite3db_testset_2_convert_small: [0.092268s] Passed.
            sqlite3db_testset_3_convert_large: [68.611927s] Passed.
            sqlite3db_testset_4_get: [0.046001s] Passed.
            sqlite3db_testset_5_get: [0.045498s] Passed.
            sqlite3db_testset_6_get: [0.045098s] Passed.
        [68.897778s]

        Summary for 1 test programs:
            6 passed test cases.
            0 failed test cases.
            0 expected failed test cases.
            0 skipped test cases.

        *** The verbatim output of atf-run has been saved to /usr/tests/usr.bin/sqlite3db/atf-run.log
        *** Once again, note that make test is unsupported.
        [23:29:46] agc@netbsd-002 ...tests/usr.bin/sqlite3db [3697] >


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 othersrc/external/bsd/sqlite3db/bin/Testspec

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index