Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
fb8fc2bd
Commit
fb8fc2bd
authored
Mar 09, 2017
by
James Zern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README: add detail for running tests in parallel
Change-Id: If5300ead54effe2977f1cdbbea82d396ff58abbf
parent
41fc0c66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
README
README
+22
-1
No files found.
README
View file @
fb8fc2bd
README -
23
March 201
5
README -
9
March 201
7
Welcome to the AV1 Codec SDK!
Welcome to the AV1 Codec SDK!
...
@@ -126,6 +126,27 @@ AV1 TEST VECTORS:
...
@@ -126,6 +126,27 @@ AV1 TEST VECTORS:
$ ./configure --enable-unit-tests
$ ./configure --enable-unit-tests
$ LIBAOM_TEST_DATA_PATH=../-test-data make testdata
$ LIBAOM_TEST_DATA_PATH=../-test-data make testdata
UNIT TESTS:
The unit tests (consisting mainly of the test_libaom binary) can be run using
make. This will download the test data if necessary.
$ ../libaom/configure --enable-unit-tests
$ make test
Test may be run in parallel using make -j which supports up to 10 shards by
default.
$ make -j10 test
If you have additional cores you can scale the tests to match:
$ shards=$(nproc); \
make -j$shards test \
NUM_SHARDS=$shards SHARDS="$(seq -s' ' 0 $(( shards - 1 )))" \
&& echo "success"
The GTEST_FILTER environment variable (equivalent to --gtest_filter) can be
used to control which tests are run while sharding:
$ GTEST_FILTER='SSE2*' make -j10 test
CODE STYLE:
CODE STYLE:
The coding style used by this project is enforced with clang-format using the
The coding style used by this project is enforced with clang-format using the
configuration contained in the .clang-format file in the root of the
configuration contained in the .clang-format file in the root of the
...
...
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