summaryrefslogtreecommitdiffstats
path: root/blimp/docs/test.md
blob: 4d172784ed042ce682060d0b3aebbaffb35499b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Testing

Blimp only supports building using [GN](../../tools/gn/README.md), and only
supports building for Android and Linux.  See [building](build.md) for general
GN setup.

## Testing on Android

Run the following command to build the Android tests:

```bash
ninja -C out-android/Debug blimp_tests
```

### Running the Java instrumentation tests

Install the Blimp APK with the following:

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

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

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

### Testing on Linux

Run the following command to build the Linux tests:

```bash
ninja -C out-linux/Debug blimp_tests
```

There are no tests that run on Linux yet.