.
This commit is contained in:
36
V2MemTest.h
36
V2MemTest.h
@@ -47,42 +47,6 @@ typedef struct _def_sOptions
|
||||
def_eTMURamLimit eTMURamLimit;
|
||||
}
|
||||
|
||||
const char szTitle[] = \
|
||||
"V2MemTest-%d.%d.%d - A CLI Tool to test & fix Voodoo² TMU System\n" \
|
||||
"Copyright (C) 2026 ChaCha\n";
|
||||
|
||||
const char szLicence[] = \
|
||||
"This program is free software : you can redistribute it and/or modify it under\n" \
|
||||
"the terms of the GNU General Public License as published by the Free Software\n" \
|
||||
"Foundation either version 3 of the License, or (at your option) any later version.\n" \
|
||||
"This program is distributed in the hope that it will be useful, but WITHOUT ANY\n" \
|
||||
"WARRANTY !\n";
|
||||
|
||||
const char szHelp[] = \
|
||||
"Usage ./v2memtest <options>\n" \
|
||||
"\n"
|
||||
"options:\n"
|
||||
"\t-h :\tthis output\n"
|
||||
"\n"
|
||||
"\t-v <level> :\tset log level to the specified value.\n"
|
||||
"\t\t 0: ERR, 1: INFO, 2: WARN, 3: DEBUG, 4: TRACE\n"
|
||||
"\n"
|
||||
"\t-fl <file> :\tset a log file path & name.\n"
|
||||
"\n"
|
||||
"\t-fd <file> :\tset a failure report path & base name.\n"
|
||||
"\t\t Note that the test name will be appended to the file name.\n"
|
||||
"\t\t eg: file name is 'foo' running 'data-bitmove' :\n"
|
||||
"\t\t foo_data-bitmove.tsv\n"
|
||||
"\n"
|
||||
"\t :\t\n"
|
||||
"\n"
|
||||
"\t :\t\n"
|
||||
"\n"
|
||||
"\n"
|
||||
|
||||
"( -h | -v <level> | -fl <file> | -fd <file> |";
|
||||
|
||||
|
||||
extern def_sOptions sOptions;
|
||||
|
||||
#endif //_DEF_V2MEMTEST_H_
|
||||
35
main.c
35
main.c
@@ -37,6 +37,41 @@
|
||||
#include "Test_Data.h"
|
||||
#include "Test_Data_Huge.h"
|
||||
|
||||
const char szTitle[] =
|
||||
"V2MemTest-%d.%d.%d - A CLI Tool to test & fix Voodoo² TMU System\n"
|
||||
"Copyright (C) 2026 ChaCha\n";
|
||||
|
||||
const char szLicence[] =
|
||||
"This program is free software : you can redistribute it and/or modify it under\n"
|
||||
"the terms of the GNU General Public License as published by the Free Software\n"
|
||||
"Foundation either version 3 of the License, or (at your option) any later version.\n"
|
||||
"This program is distributed in the hope that it will be useful, but WITHOUT ANY\n"
|
||||
"WARRANTY !\n";
|
||||
|
||||
const char szHelp[] =
|
||||
"Usage ./v2memtest <options>\n"
|
||||
"\n"
|
||||
"options:\n"
|
||||
"\t-h :\tthis output\n"
|
||||
"\n"
|
||||
"\t-v <level> :\tset log level to the specified value.\n"
|
||||
"\t\t 0: ERR, 1: INFO, 2: WARN, 3: DEBUG, 4: TRACE\n"
|
||||
"\n"
|
||||
"\t-fl <file> :\tset a log file path & name.\n"
|
||||
"\n"
|
||||
"\t-fd <file> :\tset a failure report path & base name.\n"
|
||||
"\t\t Note that the test name will be appended to the file name.\n"
|
||||
"\t\t eg: file name is 'foo' running 'data-bitmove' :\n"
|
||||
"\t\t foo_data-bitmove.tsv\n"
|
||||
"\n"
|
||||
"\t :\t\n"
|
||||
"\n"
|
||||
"\t :\t\n"
|
||||
"\n"
|
||||
"\n"
|
||||
|
||||
"( -h | -v <level> | -fl <file> | -fd <file> |";
|
||||
|
||||
def_sOptions sOptions = {
|
||||
.ucLogLevel = E_LOGLEVEL_WARNING,
|
||||
.bLogStdOut = 1,
|
||||
|
||||
Reference in New Issue
Block a user