You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/06/05 16:19:41 UTC

[5/5] incubator-ignite git commit: #nodejs: remove runtest

#nodejs: remove runtest


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

Branch: refs/heads/nodejs
Commit: b80aceb59282ac7f1eb2f091de2fe27a549b2747
Parents: 4fddf36
Author: ivasilinets <iv...@gridgain.com>
Authored: Fri Jun 5 17:18:55 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Fri Jun 5 17:18:55 2015 +0300

----------------------------------------------------------------------
 .../org/apache/ignite/internal/NodeJsSelfTest.java |  2 +-
 modules/nodejs/src/test/nodejs/runtest.bat         | 17 -----------------
 modules/nodejs/src/test/nodejs/runtest.sh          |  6 ------
 3 files changed, 1 insertion(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b80aceb5/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsSelfTest.java b/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsSelfTest.java
index 8366b778..36c3289 100644
--- a/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsSelfTest.java
+++ b/modules/nodejs/src/test/java/org/apache/ignite/internal/NodeJsSelfTest.java
@@ -49,7 +49,7 @@ public class NodeJsSelfTest extends NodeJsAbstractTest {
 
         Map<String, String> env = new HashMap<>();
 
-        env.put("IGNITE_HOME", "C:\\Users\\GridGain\\Documents\\GitHub\\incubator-ignite");
+        env.put("IGNITE_HOME", IgniteUtils.getIgniteHome());
         try {
             proc = GridJavaProcess.exec(
                 cmd,

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b80aceb5/modules/nodejs/src/test/nodejs/runtest.bat
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/nodejs/runtest.bat b/modules/nodejs/src/test/nodejs/runtest.bat
deleted file mode 100644
index c3e0648..0000000
--- a/modules/nodejs/src/test/nodejs/runtest.bat
+++ /dev/null
@@ -1,17 +0,0 @@
-::
-:: Copyright (C) GridGain Systems. All Rights Reserved.
-::
-:: _________        _____ __________________        _____
-:: __  ____/___________(_)______  /__  ____/______ ____(_)_______
-:: _  / __  __  ___/__  / _  __  / _  / __  _  __ `/__  / __  __ \
-:: / /_/ /  _  /    _  /  / /_/ /  / /_/ /  / /_/ / _  /  _  / / /
-:: \____/   /_/     /_/   \_,__/   \____/   \__,_/  /_/   /_/ /_/
-::
-::
-
-::
-:: Internal script that starts test runner.
-::
-if "%IGNITE_HOME%" == "" echo %0, ERROR: IGNITE_HOME environment vairable is not found.
-
-nodeunit %IGNITE_HOME%\modules\nodejs\src\test\nodejs\test.js
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/b80aceb5/modules/nodejs/src/test/nodejs/runtest.sh
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/nodejs/runtest.sh b/modules/nodejs/src/test/nodejs/runtest.sh
deleted file mode 100644
index a60da47..0000000
--- a/modules/nodejs/src/test/nodejs/runtest.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env bash
-if [ "${IGNITE_HOME}" = "" ]; then
-    export IGNITE_HOME="$(dirname $(readlink -f $0))"/..
-fi
-
-nodeunit ${IGNITE_HOME}$/../ggprivate/modules/clients/src/test/nodejs/test.js
\ No newline at end of file