Commit 490a8723 authored by Jeno Attila Balasko's avatar Jeno Attila Balasko Committed by Gerrit Code Review
Browse files

Merge "Added symbolic version string to the '-v' option of executables (bug...

Merge "Added symbolic version string to the '-v' option of executables (bug 544861) - Implemented for the compiler by Harald Welte"
parents fd9f11cb 7bc61bfb
...@@ -956,6 +956,7 @@ int main(int argc, char *argv[]) ...@@ -956,6 +956,7 @@ int main(int argc, char *argv[])
if (vflag) { if (vflag) {
fputs("TTCN-3 and ASN.1 Compiler for the TTCN-3 Test Executor\n" fputs("TTCN-3 and ASN.1 Compiler for the TTCN-3 Test Executor\n"
"Product number: " PRODUCT_NUMBER "\n" "Product number: " PRODUCT_NUMBER "\n"
"Version: " VERSION_STRING "\n"
"Build date: " __DATE__ " " __TIME__ "\n" "Build date: " __DATE__ " " __TIME__ "\n"
"Compiled with: " C_COMPILER_VERSION "\n", stderr); "Compiled with: " C_COMPILER_VERSION "\n", stderr);
fputs("Using ", stderr); fputs("Using ", stderr);
......
...@@ -5286,6 +5286,7 @@ int main(int argc, char *argv[]) ...@@ -5286,6 +5286,7 @@ int main(int argc, char *argv[])
if (vflag) { if (vflag) {
fputs("Makefile Generator for the TTCN-3 Test Executor\n" fputs("Makefile Generator for the TTCN-3 Test Executor\n"
"Product number: " PRODUCT_NUMBER "\n" "Product number: " PRODUCT_NUMBER "\n"
"Version: " VERSION_STRING "\n"
"Build date: " __DATE__ " " __TIME__ "\n" "Build date: " __DATE__ " " __TIME__ "\n"
"Compiled with: " C_COMPILER_VERSION "\n\n" "Compiled with: " C_COMPILER_VERSION "\n\n"
COPYRIGHT_STRING "\n\n", stderr); COPYRIGHT_STRING "\n\n", stderr);
......
...@@ -174,6 +174,7 @@ static boolean process_options(int argc, char *argv[], int& ret_val, ...@@ -174,6 +174,7 @@ static boolean process_options(int argc, char *argv[], int& ret_val,
// version printout // version printout
fputs("TTCN-3 Host Controller (parallel mode)\n" fputs("TTCN-3 Host Controller (parallel mode)\n"
"Product number: " PRODUCT_NUMBER "\n" "Product number: " PRODUCT_NUMBER "\n"
"Version: " VERSION_STRING "\n"
"Build date (Base Library): " __DATE__ " " __TIME__ "\n" "Build date (Base Library): " __DATE__ " " __TIME__ "\n"
"Base Library was compiled with: " C_COMPILER_VERSION "\n\n" "Base Library was compiled with: " C_COMPILER_VERSION "\n\n"
COPYRIGHT_STRING "\n\n", stderr); COPYRIGHT_STRING "\n\n", stderr);
......
...@@ -154,6 +154,7 @@ int main(int argc, char* argv[]) ...@@ -154,6 +154,7 @@ int main(int argc, char* argv[])
else { else {
fputs("Profiler and Code Coverage Merge Tool for the TTCN-3 Test Executor\n" fputs("Profiler and Code Coverage Merge Tool for the TTCN-3 Test Executor\n"
"Product number: " PRODUCT_NUMBER "\n" "Product number: " PRODUCT_NUMBER "\n"
"Version: " VERSION_STRING "\n"
"Build date: " __DATE__ " " __TIME__ "\n" "Build date: " __DATE__ " " __TIME__ "\n"
"Compiled with: " C_COMPILER_VERSION "\n\n" "Compiled with: " C_COMPILER_VERSION "\n\n"
COPYRIGHT_STRING "\n\n", stderr); COPYRIGHT_STRING "\n\n", stderr);
......
...@@ -184,6 +184,7 @@ int main(int argc, char *argv[]) ...@@ -184,6 +184,7 @@ int main(int argc, char *argv[])
} else if (vflag) { } else if (vflag) {
fputs("TTCN-3 Test Executor (single mode)\n" fputs("TTCN-3 Test Executor (single mode)\n"
"Product number: " PRODUCT_NUMBER "\n" "Product number: " PRODUCT_NUMBER "\n"
"Version: " VERSION_STRING "\n"
"Build date (Base Library): " __DATE__ " " __TIME__ "\n" "Build date (Base Library): " __DATE__ " " __TIME__ "\n"
"Base Library was compiled with: " C_COMPILER_VERSION "\n\n" "Base Library was compiled with: " C_COMPILER_VERSION "\n\n"
COPYRIGHT_STRING "\n\n", stderr); COPYRIGHT_STRING "\n\n", stderr);
......
...@@ -250,6 +250,7 @@ int main(int argc,char *argv[]) ...@@ -250,6 +250,7 @@ int main(int argc,char *argv[])
} else if (vflag) { } else if (vflag) {
fputs("Log Filter for the TTCN-3 Test Executor\n" fputs("Log Filter for the TTCN-3 Test Executor\n"
"Product number: " PRODUCT_NUMBER "\n" "Product number: " PRODUCT_NUMBER "\n"
"Version: " VERSION_STRING "\n"
"Build date: " __DATE__ " " __TIME__ "\n" "Build date: " __DATE__ " " __TIME__ "\n"
"Compiled with: " C_COMPILER_VERSION "\n\n" "Compiled with: " C_COMPILER_VERSION "\n\n"
COPYRIGHT_STRING "\n\n", stderr); COPYRIGHT_STRING "\n\n", stderr);
......
...@@ -505,6 +505,7 @@ int main(int argc, char *argv[]) ...@@ -505,6 +505,7 @@ int main(int argc, char *argv[])
} else if (vflag) { } else if (vflag) {
fputs("Log Formatter for the TTCN-3 Test Executor\n" fputs("Log Formatter for the TTCN-3 Test Executor\n"
"Product number: " PRODUCT_NUMBER "\n" "Product number: " PRODUCT_NUMBER "\n"
"Version: " VERSION_STRING "\n"
"Build date: " __DATE__ " " __TIME__ "\n" "Build date: " __DATE__ " " __TIME__ "\n"
"Compiled with: " C_COMPILER_VERSION "\n\n" "Compiled with: " C_COMPILER_VERSION "\n\n"
COPYRIGHT_STRING "\n\n", stderr); COPYRIGHT_STRING "\n\n", stderr);
......
...@@ -619,6 +619,7 @@ int main(int argc,char *argv[]) ...@@ -619,6 +619,7 @@ int main(int argc,char *argv[])
if(vflag) { if(vflag) {
fputs("Log Merger for the TTCN-3 Test Executor\n" fputs("Log Merger for the TTCN-3 Test Executor\n"
"Product number: " PRODUCT_NUMBER "\n" "Product number: " PRODUCT_NUMBER "\n"
"Version: " VERSION_STRING "\n"
"Build date: " __DATE__ " " __TIME__ "\n" "Build date: " __DATE__ " " __TIME__ "\n"
"Compiled with: " C_COMPILER_VERSION "\n\n" "Compiled with: " C_COMPILER_VERSION "\n\n"
COPYRIGHT_STRING "\n\n", stderr); COPYRIGHT_STRING "\n\n", stderr);
......
...@@ -272,6 +272,7 @@ static void printUsage(const char * argv0) { ...@@ -272,6 +272,7 @@ static void printUsage(const char * argv0) {
static void printVersion() { static void printVersion() {
fputs("Product number: " PRODUCT_NUMBER "\n" fputs("Product number: " PRODUCT_NUMBER "\n"
"Version: " VERSION_STRING "\n"
"Build date: " __DATE__ " " __TIME__ "\n" "Build date: " __DATE__ " " __TIME__ "\n"
"Compiled with: " C_COMPILER_VERSION "\n\n" "Compiled with: " C_COMPILER_VERSION "\n\n"
COPYRIGHT_STRING "\n\n", stderr); COPYRIGHT_STRING "\n\n", stderr);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment