diff --git a/test/README.md b/test/README.md index 0b43e8c..dffacda 100644 --- a/test/README.md +++ b/test/README.md @@ -1,17 +1,26 @@ # How to maintain test cases -1. Please make sure that GNU sed and [pict](https://github.com/microsoft/pict) are installed. +1. to test, please make sure that GNU sed, [pict](https://github.com/microsoft/pict) and [shunit2](https://github.com/kward/shunit2.git) are installed. -Example: +Example for pict: ```bash $ git clone https://github.com/Microsoft/pict.git $ cd pict/ -#### Install Clang and libc++ on Ubuntu if necesarry +#### Install Clang and libc++ on Ubuntu if necessary $ sudo apt-get install clang libc++-dev $ make $ sudo install -m 0755 pict /usr/local/bin/pict ``` -2. Edit `config.pict` to add/remove/modify software versions. +Example for shunit2: +```bash +$ cd /path_to_xpanes_project/test/ +$ git submodule init +$ git submodule update +# => https://github.com/kward/shunit2.git is cloned into /path_to_xpanes_project/test/shunit2 directory +``` + +3. Edit `config.pict` to add/remove/modify software versions. + +4. Run `bash ./update_yaml.sh` -3. Run `bash ./update_yaml.sh`