diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-07-31 18:13:05 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-07-31 18:13:05 -0700 |
commit | baa6a925c2fe297555880345224a60e3c55ee421 (patch) | |
tree | 4052a5dd4f1be8eaca3d2cb1676ecbdee11d50a5 /deps/uv/test/run-benchmarks.c | |
parent | 624dd38d898d9a69a60320010d8598823ab1f603 (diff) | |
download | node-new-baa6a925c2fe297555880345224a60e3c55ee421.tar.gz |
Upgrade libuv to e9bee51
Diffstat (limited to 'deps/uv/test/run-benchmarks.c')
-rw-r--r-- | deps/uv/test/run-benchmarks.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/deps/uv/test/run-benchmarks.c b/deps/uv/test/run-benchmarks.c index bdef4a4be4..d04c78d5e7 100644 --- a/deps/uv/test/run-benchmarks.c +++ b/deps/uv/test/run-benchmarks.c @@ -38,7 +38,14 @@ int main(int argc, char **argv) { switch (argc) { case 1: return run_tests(BENCHMARK_TIMEOUT, 1); - case 2: return run_test(argv[1], BENCHMARK_TIMEOUT, 1); + case 2: { + if (strcmp(argv[1], "spawn_helper") == 0) { + printf("hello world\n"); + return 42; + } + + return run_test(argv[1], BENCHMARK_TIMEOUT, 1); + } case 3: return run_test_part(argv[1], argv[2]); default: LOGF("Too many arguments.\n"); |