Update README.md

[ROCm/clr commit: 08a82b405a]
This commit is contained in:
Aditya Avinash Atluri
2016-02-26 19:38:22 -06:00
parent 40726aa9a1
commit 89a26397a0
+20 -15
View File
@@ -1,34 +1,39 @@
Tests uses CMAKE as teh build infrastructure.
Use :
> mkdir build
> cd build
> cmake ../src
> make
> make test
```
$ mkdir build
$ cd build
$ cmake ../src
$ make
$ make test
```
#-----
# How to add a new 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)
```
make_test (EXE CPP_FILES)
make_hip_executable (hipMemset hipMemset.cpp)
```
# Add to automated Test framework:
# make_test (TESTNAME ARGS)
> make_test(hipMemset " ")
```
make_test (TESTNAME ARGS)
make_test(hipMemset " ")
```
# Running tests:
```
make test
```
# Run a specific test:
```
./hipMemset
```