-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Testing the VM
Ryan Macnak edited this page May 4, 2016
·
14 revisions
./tools/build.py -mdebug,release runtime
./tools/test.py -mdebug,release
./tools/test.py -mdebug,release --checked
export CC="third_party/clang/linux/bin/clang -fsanitize=address -fPIC"
export CXX="third_party/clang/linux/bin/clang++ -fsanitize=address -fPIC"
export C_INCLUDE_PATH="third_party/clang/linux/lib/clang/3.4/include/"
export CPLUS_INCLUDE_PATH="third_party/clang/linux/lib/clang/3.4/include/"
export ASAN_OPTIONS="handle_segv=0:detect_stack_use_after_return=1"
gclient runhooks
./tools/build.py -mrelease runtime
./tools/test.py -mrelease
export CC="third_party/clang/linux/bin/clang -fsanitize=thread"
export CXX="third_party/clang/linux/bin/clang++ -fsanitize=thread"
export C_INCLUDE_PATH="third_party/clang/linux/lib/clang/3.4/include/"
export CPLUS_INCLUDE_PATH="third_party/clang/linux/lib/clang/3.4/include/"
gclient runhooks
./tools/build.py -mrelease runtime
./tools/test.py -mrelease
./tools/build.py -mdebug,release runtime
./tools/test.py -mdebug,release --noopt
./tools/build.py -mrelease runtime_precompiled
./tools/test.py -mrelease -cprecompiler -rdart_precompiled
./tools/build.py -mproduct runtime
./tools/test.py -mproduct -cdart2app -rdart_product
Important
The wiki has moved to https://github.com/dart-lang/sdk/tree/main/docs; please don't edit the pages here.