-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Testing the VM
Ryan Macnak edited this page May 24, 2016
·
14 revisions
./tools/build.py -m all runtime
./tools/test.py -m all
./tools/test.py -m all --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 -m release runtime
./tools/test.py -m release
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 -m release runtime
./tools/test.py -m release
./tools/build.py -mdebug,release runtime_and_noopt
./tools/test.py -mdebug,release --noopt
./tools/build.py -mrelease runtime_precompiled
./tools/test.py -mrelease -cprecompiler -rdart_precompiled
./tools/build.py -mrelease -aarm --os=android runtime_precompiled
export PATH=$PATH:$PWD/third_party/android_tools/sdk/platform-tools
./tools/test.py -mrelease -aarm --system=android -cprecompiler -rdart_precompiled --use-blobs
./tools/build.py -mall runtime
./tools/test.py -mall -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.