root/library/tests/testsuite/testsuite.cpp @ 722

Revision 722, 0.8 kB (checked in by mido, 15 years ago)

astyler run over all test sources
general_suite added
cleanup of \test directory finished

  • Property svn:eol-style set to native
RevLine 
[496]1#include "Test.h"
2#include "TestReporterStdout.h"
[418]3#include "UnitTest++.h"
[565]4#include "bdmerror.h"
[452]5#include "itpp_ext.h"
[565]6#include <string.h>
[722]7#include "../general_suite.h"
[418]8
[722]9using namespace UnitTest;
[689]10
[496]11int main ( int argc, char const *argv[] ) {
12        if ( argc > 1 ) {
[722]13                if ( !strcmp ( argv[1], "print" ) )
14                        print_test_list();
15                else
16                        pick_selected_tests ( argc, argv );
[689]17        } else {
[722]18                cout << endl << "TESTSUITE - a program covering all BDM unit tests." << endl << endl
19                     << argv[0] << " ....................................... run all unit tests" << endl
20                     << argv[0] << " particular_test_1 particular_test_2 ... run selected unit tests" << endl
[721]21                     << argv[0] << " print ................................. print all the implemented unit tests" << endl;
[496]22        }
23
[722]24        return run_selected_tests();
[418]25}
Note: See TracBrowser for help on using the browser.