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 11:26:00 +0200
commitfe5915be878e5076693334b9cb5e5092149d7e12 (patch)
treef98dcee864d25bb657c2cdf8e1c106bb0f8f8a39 /test/src/mbgl/test/util.cpp
parent4067a61c80b90e656f129f34f4479fa0c7262b91 (diff)
downloadqtlocation-mapboxgl-fe5915be878e5076693334b9cb5e5092149d7e12.tar.gz
[build] disable parts of the build that require node when WITH_NODEJS=OFF is setupstream/fix-with-nodejs-off
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);