这是indexloc提供的服务,不要输入任何密码
Skip to content

Add shunit2 dependency for test readme #186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions test/README.md
Original file line number Diff line number Diff line change
@@ -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`