aboutsummaryrefslogtreecommitdiff
path: root/test/README
blob: 4ef634d533296f418bb42862224680df1a27ca0a (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-2018, 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 implementations all perform identically
and to specification. Tests inside the validation directory shall be platform
independent.

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

To run these tests with gdb, use the following libtool command:
$ libtool --mode=execute gdb ./<test_name>

Refer to the prerequisites section of the DEPENDENCIES file for how to
install the libtool package.