summaryrefslogtreecommitdiff
path: root/test/src/mbgl/test/util.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-05-24 11:25:12 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-05-24 21:50:29 +0200
commit2694c0df037265fd37c6b9dc709efd5fa3472b12 (patch)
tree40fdc111969ab54237db395cd140b0fc8e29c770 /test/src/mbgl/test/util.cpp
parentb1f696155e2ff18e6d76c8f74eafadc7ee59cf71 (diff)
downloadqtlocation-mapboxgl-2694c0df037265fd37c6b9dc709efd5fa3472b12.tar.gz
[build] disable parts of the build that require node when WITH_NODEJS=OFF is set
Diffstat (limited to 'test/src/mbgl/test/util.cpp')
-rw-r--r--test/src/mbgl/test/util.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/src/mbgl/test/util.cpp b/test/src/mbgl/test/util.cpp
index 028a0a9d51..30eea19bdf 100644
--- a/test/src/mbgl/test/util.cpp
+++ b/test/src/mbgl/test/util.cpp
@@ -11,10 +11,6 @@
#include <unistd.h>
-#ifndef NODE_EXECUTABLE
-#define NODE_EXECUTABLE node
-#endif
-
#define xstr(s) str(s)
#define str(s) #s
@@ -54,8 +50,6 @@ Server::Server(const char* script) {
const char* executable = xstr(NODE_EXECUTABLE);
- fprintf(stderr, "executable: %s\n", executable);
-
// Launch the actual server process.
int ret = execl(executable, executable, script, nullptr);