From 73fa2a98648c4face3837da9f76a1775fef9c438 Mon Sep 17 00:00:00 2001 From: Aditya Avinash Atluri Date: Fri, 26 Feb 2016 19:38:22 -0600 Subject: [PATCH] Update README.md [ROCm/hip commit: 0fda8711d5c2de5e68da513fd0d93984a3852b00] --- projects/hip/tests/README.md | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/projects/hip/tests/README.md b/projects/hip/tests/README.md index 30c7173b35..bc8a9772f3 100644 --- a/projects/hip/tests/README.md +++ b/projects/hip/tests/README.md @@ -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 - - +```