Testing

Blimp only supports building using GN, and only supports building for Android and Linux. See building for general GN setup.

Testing on Android

Run the following command to build the Android tests:

ninja -C out-android/Debug blimp chrome_public_test_apk

Running the Java instrumentation tests

Install the Blimp APK with the following:

./build/android/adb_install_apk.py $(PRODUCT_DIR)/apks/Blimp.apk

Install the Chrome Public APK with the following:

./build/android/adb_install_apk.py $(PRODUCT_DIR)/apks/ChromePublic.apk

Run the Blimp Java instrumentation tests (with an optional test filter) with the following:

$(PRODUCT_DIR)/bin/run_blimp_test_apk [ -f DummyTest#* ]

Run the Chrome Public Java instrumentation tests (with an optional test filter) with the following:

$(PRODUCT_DIR)/bin/run_chrome_public_test_apk [ -f DummyTest#* ]

Testing on Linux

Run the following command to build the Linux tests:

ninja -C out-linux/Debug blimp

Run the following command to run the Blimp Linux unit tests:

./out-linux/Debug/blimp_unittests