You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/04/15 14:24:13 UTC
[4/6] incubator-tinkerpop git commit: Use GREMLIN_TESTS because
uppercase env var is more normal
Use GREMLIN_TESTS because uppercase env var is more normal
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/5d8224a8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/5d8224a8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/5d8224a8
Branch: refs/heads/master
Commit: 5d8224a8bf75ec760bf8bfebeeaeff16e9b28f9c
Parents: 5675fed
Author: mhfrantz <mf...@redsealnetworks.com>
Authored: Tue Apr 14 22:10:31 2015 -0700
Committer: mhfrantz <mf...@redsealnetworks.com>
Committed: Tue Apr 14 22:10:31 2015 -0700
----------------------------------------------------------------------
README.asciidoc | 4 ++--
.../java/org/apache/tinkerpop/gremlin/AbstractGremlinSuite.java | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/5d8224a8/README.asciidoc
----------------------------------------------------------------------
diff --git a/README.asciidoc b/README.asciidoc
index e0d3948..92d966c 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -31,10 +31,10 @@ Building and Testing
~~~~~~~~~~~~~~~~~~~~
* Build Project: `mvn clean install`
-** Specify specific tests in a TinkerPop Suite to run with the `gremlin_tests` environment variable, along with the Maven project list argument, e.g.:
+** Specify specific tests in a TinkerPop Suite to run with the `GREMLIN_TESTS` environment variable, along with the Maven project list argument, e.g.:
+
----
-export gremlin_tests='org.apache.tinkerpop.gremlin.process.traversal.step.map.PathTest$Traversals,org.apache.tinkerpop.gremlin.process.traversal.step.util.PathTest'
+export GREMLIN_TESTS='org.apache.tinkerpop.gremlin.process.traversal.step.map.PathTest$Traversals,org.apache.tinkerpop.gremlin.process.traversal.step.util.PathTest'
mvn -Dmaven.javadoc.skip=true --projects tinkergraph-gremlin test
----
*** Including a specific test may require its inner class implementation (e.g. `org.apache.tinkerpop.gremlin....UnionTest$ComputerTest`).
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/5d8224a8/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinSuite.java
----------------------------------------------------------------------
diff --git a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinSuite.java b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinSuite.java
index c3edeed..4d0cfa6 100644
--- a/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinSuite.java
+++ b/gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/AbstractGremlinSuite.java
@@ -164,13 +164,13 @@ public abstract class AbstractGremlinSuite extends Suite {
}
/**
- * Filter a list of test classes through the gremlin_tests environment variable list.
+ * Filter a list of test classes through the GREMLIN_TESTS environment variable list.
*/
private static Class<?>[] filterSpecifiedTests(Class<?>[] allTests) {
if (null == allTests) return allTests;
Class<?>[] filteredTests;
- final String override = System.getenv().getOrDefault("gremlin_tests", "");
+ final String override = System.getenv().getOrDefault("GREMLIN_TESTS", "");
if (override.equals(""))
filteredTests = allTests;
else {