Files
rocm-systems/projects/hip/tests
Aditya Avinash Atluri d9ad5316db Testing all test cases
The comments for not-working tests are removed. They are working fine, thanks to this commit https://github.com/AMDComputeLibraries/HIP-privatestaging/commit/5214b314a99bf8f0e77d4594a567c8a59bf3740f

[ROCm/hip commit: 381fe8b51d]
2016-02-29 13:01:43 -06:00
..
2016-02-29 13:01:43 -06:00
2016-02-26 19:39:14 -06:00

Tests uses CMAKE as teh build infrastructure.

Use :

$ mkdir build
$ cd build
$ cmake ../src
$ make
$ make test

#-----

How to add a new test

edit src/CMakeFiles to add the test:

add the executable and list of required CPP files, ie:

make_test (EXE CPP_FILES)
make_hip_executable (hipMemset hipMemset.cpp)

Add to automated Test framework:

make_test (TESTNAME ARGS)
make_test(hipMemset " ")

Running tests:

make test

Run a specific test:

./hipMemset