Revision 1064, 0.9 kB
(checked in by mido, 14 years ago)
|
astyle applied all over the library
|
Rev | Line | |
---|
[721] | 1 | #include "Test.h" |
---|
| 2 | #include "TestReporterStdout.h" |
---|
| 3 | #include "UnitTest++.h" |
---|
| 4 | #include "bdmerror.h" |
---|
| 5 | #include "itpp_ext.h" |
---|
| 6 | #include <string.h> |
---|
[722] | 7 | #include "../general_suite.h" |
---|
[721] | 8 | |
---|
[722] | 9 | using namespace UnitTest; |
---|
[721] | 10 | |
---|
| 11 | int main ( int argc, char const *argv[] ) { |
---|
[1064] | 12 | if ( argc > 1 ) { |
---|
| 13 | if ( !strcmp ( argv[1], "print" ) ) |
---|
| 14 | print_test_list(); |
---|
| 15 | else |
---|
| 16 | pick_selected_tests ( argc, argv ); |
---|
| 17 | } else { |
---|
| 18 | cout << endl << "STRESSSUITE - a program covering all BDM stress tests." << endl << endl |
---|
| 19 | << argv[0] << " ....................................... run all stress tests" << endl |
---|
| 20 | << argv[0] << " particular_test_1 particular_test_2 ... run selected stress tests" << endl |
---|
| 21 | << argv[0] << " print ................................. print all the implemented stress tests" << endl; |
---|
| 22 | } |
---|
[721] | 23 | |
---|
[1064] | 24 | return run_selected_tests(); |
---|
[721] | 25 | } |
---|