Chengyu Fan | 2788755 | 2015-03-26 17:12:00 -0600 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | set -x |
| 3 | set -e |
| 4 | |
| 5 | # Cleanup |
| 6 | sudo ./waf -j1 --color=yes distclean |
| 7 | |
| 8 | # Configure/build in debug mode |
| 9 | ./waf -j1 --color=yes configure --with-tests --debug |
| 10 | ./waf -j1 --color=yes build |
| 11 | |
| 12 | # Cleanup |
| 13 | sudo ./waf -j1 --color=yes distclean |
| 14 | |
| 15 | # Configure/build in optimized mode without tests |
| 16 | ./waf -j1 --color=yes configure |
| 17 | ./waf -j1 --color=yes build |
| 18 | |
| 19 | # Cleanup |
| 20 | sudo ./waf -j1 --color=yes distclean |
| 21 | |
| 22 | # Configure/build in optimized mode |
| 23 | ./waf -j1 --color=yes configure --with-tests |
| 24 | ./waf -j1 --color=yes build |
| 25 | |
| 26 | # (tests will be run against optimized version) |