aboutsummaryrefslogtreecommitdiff
path: root/test/README
blob: 64bf03b0cbd1dd6a0ce661460fc8942285bd609f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Copyright (c) 2014, Linaro Limited
All rights reserved.

SPDX-License-Identifier:        BSD-3-Clause

Files in test/validation directory are intended to be terse checks that help
ensure that the ODP API Implementations all perform identically and to
specification. Tests inside the validation directory shall be platform
independent. However, they may need platform dependent environment
configuration.

To run valgrind on the executables do:
$ ./bootstrap
$ ./configure --enable-test-vald --enable-valgrind
$ cd test/validation
$ make check-valgrind

Some tests scripts, like pktio require ODP_PLATFORM variable to be exported to load
platform specific env files. 'make check' defines that variable automatically,
and package will put all required files at the same place as tests binaries. But if
you run tests manually from odp source code then you need it to be defined, like:
export ODP_PLATFROM=linux-generic.