diff --git a/script/benchmark b/script/benchmark index 6398ebe7..84225d05 100755 --- a/script/benchmark +++ b/script/benchmark @@ -30,8 +30,8 @@ if [ "$(uname -s)" == "Darwin" ]; then fi mode=normal -export BUILDTYPE=Test -cmd=out/Test/benchmarks +export BUILDTYPE=Release +cmd=out/$BUILDTYPE/benchmarks run_scan_build= while getopts "bdhf:l:SL" option; do diff --git a/tests.gyp b/tests.gyp index 5515effb..915bb3c7 100644 --- a/tests.gyp +++ b/tests.gyp @@ -2,6 +2,7 @@ 'targets': [ { 'target_name': 'benchmarks', + 'default_configuration': 'Release', 'type': 'executable', 'dependencies': [ 'project.gyp:runtime', @@ -18,11 +19,11 @@ 'test/helpers/load_language.cc', 'test/helpers/read_test_entries.cc', 'test/helpers/stderr_logger.cc', - 'test/helpers/record_alloc.cc', ], }, { 'target_name': 'tests', + 'default_configuration': 'Test', 'type': 'executable', 'dependencies': [ 'project.gyp:runtime', @@ -42,34 +43,35 @@ '