trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject trafficserver git commit: TS-3709: Add regression command line options to traffic_server help
Date Fri, 19 Jun 2015 05:29:23 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 21bf88008 -> d53ecfd36


TS-3709: Add regression command line options to traffic_server help


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/d53ecfd3
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/d53ecfd3
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/d53ecfd3

Branch: refs/heads/master
Commit: d53ecfd3640a2ee83a275a253de491189eb530fe
Parents: 21bf880
Author: Bryan Call <bcall@apache.org>
Authored: Thu Jun 18 22:28:56 2015 -0700
Committer: Bryan Call <bcall@apache.org>
Committed: Thu Jun 18 22:28:56 2015 -0700

----------------------------------------------------------------------
 proxy/Main.cc | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/d53ecfd3/proxy/Main.cc
----------------------------------------------------------------------
diff --git a/proxy/Main.cc b/proxy/Main.cc
index 689711a..4593e57 100644
--- a/proxy/Main.cc
+++ b/proxy/Main.cc
@@ -89,6 +89,7 @@ extern "C" int plock(int);
 #include "I_Tasks.h"
 #include "InkAPIInternal.h"
 #include "HTTP2.h"
+#include "ts/ink_config.h"
 
 #include <ts/ink_cap.h>
 
@@ -180,21 +181,8 @@ static const ArgumentDescription argument_descriptions[] = {
   {"dprintf_level", 'o', "Debug output level", "I", &cmd_line_dprintf_level, "PROXY_DPRINTF_LEVEL",
NULL},
 
 #if TS_HAS_TESTS
-  {"regression", 'R',
-#ifdef DEBUG
-   "Regression Level (quick:1..long:3)",
-#else
-   0,
-#endif
-   "I", &regression_level, "PROXY_REGRESSION", NULL},
-  {"regression_test", 'r',
-
-#ifdef DEBUG
-   "Run Specific Regression Test",
-#else
-   0,
-#endif
-   "S512", regression_test, "PROXY_REGRESSION_TEST", NULL},
+  {"regression", 'R', "Regression Level (quick:1..long:3)", "I", &regression_level, "PROXY_REGRESSION",
NULL},
+  {"regression_test", 'r', "Run Specific Regression Test", "S512", regression_test, "PROXY_REGRESSION_TEST",
NULL},
 #endif // TS_HAS_TESTS
 
 #if TS_USE_DIAGS


Mime
View raw message