You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2017/05/10 18:54:46 UTC
incubator-systemml git commit: [MINOR] Skip nn compare_backends
directory when generate classes
Repository: incubator-systemml
Updated Branches:
refs/heads/master 755121f93 -> 0651967b9
[MINOR] Skip nn compare_backends directory when generate classes
Exclude compare_backends directory rather than nn test directory when
automatically generating script classes for MLContext.
Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/0651967b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/0651967b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/0651967b
Branch: refs/heads/master
Commit: 0651967b94fb4d5d4dc003c9423584ad0de54118
Parents: 755121f
Author: Deron Eriksson <de...@us.ibm.com>
Authored: Wed May 10 11:50:36 2017 -0700
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Wed May 10 11:50:36 2017 -0700
----------------------------------------------------------------------
.../org/apache/sysml/utils/GenerateClassesForMLContext.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/0651967b/src/main/java/org/apache/sysml/utils/GenerateClassesForMLContext.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/sysml/utils/GenerateClassesForMLContext.java b/src/main/java/org/apache/sysml/utils/GenerateClassesForMLContext.java
index f6002b0..a69b51a 100644
--- a/src/main/java/org/apache/sysml/utils/GenerateClassesForMLContext.java
+++ b/src/main/java/org/apache/sysml/utils/GenerateClassesForMLContext.java
@@ -79,7 +79,7 @@ public class GenerateClassesForMLContext {
public static boolean skipStagingDir = true;
public static boolean skipPerfTestDir = true;
public static boolean skipObsoleteDir = true;
- public static boolean skipTestDir = true;
+ public static boolean skipCompareBackendsDir = true;
public static void main(String[] args) throws Throwable {
if (args.length == 2) {
@@ -371,9 +371,9 @@ public class GenerateClassesForMLContext {
}
return true;
}
- if ("test".equalsIgnoreCase(dir.getName()) && skipTestDir) {
+ if ("compare_backends".equalsIgnoreCase(dir.getName()) && skipCompareBackendsDir) {
if (displayMessage) {
- System.out.println("Skipping test directory: " + dir.getPath());
+ System.out.println("Skipping compare_backends directory: " + dir.getPath());
}
return true;
}