2016-04-13 22:05:37 +02:00
|
|
|
/** @file
|
2015-01-13 22:55:33 +01:00
|
|
|
* @author Edouard DUPIN
|
|
|
|
* @copyright 2014, Edouard DUPIN, all right reserved
|
2017-01-05 21:28:23 +01:00
|
|
|
* @license MPL v2.0 (see license file)
|
2015-01-13 22:55:33 +01:00
|
|
|
*/
|
|
|
|
|
2016-10-02 15:58:37 +02:00
|
|
|
#include <test-debug/debug.hpp>
|
2017-09-07 23:38:26 +02:00
|
|
|
#include <etest/etest.hpp>
|
2016-10-02 15:58:37 +02:00
|
|
|
#include <etk/etk.hpp>
|
2015-01-13 22:55:33 +01:00
|
|
|
|
|
|
|
int main(int argc, const char *argv[]) {
|
|
|
|
// init Google test :
|
2017-09-12 14:13:50 +02:00
|
|
|
etest::init(argc, argv);
|
2015-01-13 22:55:33 +01:00
|
|
|
for (int32_t iii=0; iii<argc ; ++iii) {
|
2017-08-28 00:05:54 +02:00
|
|
|
etk::String data = argv[iii];
|
2016-04-08 21:52:27 +02:00
|
|
|
if ( data == "-h"
|
|
|
|
|| data == "--help") {
|
|
|
|
TEST_PRINT("Help : ");
|
|
|
|
TEST_PRINT(" ./xxx [options]");
|
|
|
|
TEST_PRINT(" -h/--help: this help");
|
2015-01-13 22:55:33 +01:00
|
|
|
exit(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return RUN_ALL_TESTS();
|
|
|
|
}
|