Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
ndk
Commits
cb57cd33
Commit
cb57cd33
authored
9 years ago
by
Dan Albert
Browse files
Options
Download
Email Patches
Plain Diff
Update the readme to mention validate.py.
Change-Id: Ib844cbe34ba755b66f752ff6f4c235cf2d45481f
parent
b3d131a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
README.md
README.md
+24
-0
No files found.
README.md
View file @
cb57cd33
...
...
@@ -127,6 +127,8 @@ packaging is handled by `build/tools/package.py`.
Testing
-------
### Single Configuration Testing
Running the NDK tests requires a complete NDK package (see previous steps).
From the NDK source directory (not the extracted package):
...
...
@@ -142,6 +144,28 @@ device/emulator is connected. If you do not have a device capable of running the
tests, you can run just the
`build`
or
`awk`
test suites with the
`--suite`
flag.
### Thorough Testing
There is also a script that will automatically detect connected
devices/emulators and choose a subset of them to fit our QA configuration. This
script will run all of the tests across all available ABIs on several devices,
and thus will take a long time (takes ~75 minutes on my machine, even with a few
configurations unavailable). As such, this isn't suitable for active
development, but should be run for QA and for any changes that might have a wide
impact (compiler updates, ndk-build changes, sysroot changes, etc).
To use this script, connect any devices and launch any emulators you need for
testing (make sure ADB has authorization to control them), then run:
```
bash
$
python tests/validate.py path/to/ndk
```
By default, test logs will be placed in $CWD/test-logs. This can be controlled
with the
`--log-dir`
flag.
### Testing libc++
The libc++ tests are not currently integrated into the main NDK tests. To run
the libc++ tests:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment