OLD | NEW |
| (Empty) |
1 # Testing | |
2 | |
3 Blimp only supports building using [GN](../../tools/gn/README.md), and only | |
4 supports building for Android and Linux. See [building](build.md) for general | |
5 GN setup. | |
6 | |
7 ## Testing on Android | |
8 | |
9 Run the following command to build the Android tests: | |
10 | |
11 ```bash | |
12 ninja -C out-android/Debug blimp chrome_public_test_apk | |
13 ``` | |
14 | |
15 ### Running the Java instrumentation tests | |
16 | |
17 Install the Blimp APK with the following: | |
18 | |
19 ```bash | |
20 ./build/android/adb_install_apk.py $(PRODUCT_DIR)/apks/Blimp.apk | |
21 ``` | |
22 | |
23 Install the Chrome Public APK with the following: | |
24 | |
25 ```bash | |
26 ./build/android/adb_install_apk.py $(PRODUCT_DIR)/apks/ChromePublic.apk | |
27 ``` | |
28 | |
29 Run the Blimp Java instrumentation tests (with an optional test filter) with | |
30 the following: | |
31 | |
32 ```bash | |
33 $(PRODUCT_DIR)/bin/run_blimp_test_apk [ -f DummyTest#* ] | |
34 ``` | |
35 | |
36 Run the Chrome Public Java instrumentation tests (with an optional test filter) | |
37 with the following: | |
38 | |
39 ```bash | |
40 $(PRODUCT_DIR)/bin/run_chrome_public_test_apk [ -f DummyTest#* ] | |
41 ``` | |
42 | |
43 ### Testing on Linux | |
44 | |
45 Run the following command to build the Linux tests: | |
46 | |
47 ```bash | |
48 ninja -C out-linux/Debug blimp | |
49 ``` | |
50 | |
51 Run the following command to run the Blimp Linux unit tests: | |
52 | |
53 ```bash | |
54 ./out-linux/Debug/blimp_unittests | |
55 ``` | |
OLD | NEW |