Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | beecrypt: enable ptest support |
| 2 | |
| 3 | Upstream-Status: Inappropriate [embedded specific] |
| 4 | |
| 5 | Add install-ptest rules. |
| 6 | |
| 7 | Signed-off-by: Chong Lu <Chong.Lu@windriver.com> |
| 8 | --- |
| 9 | Makefile.am | 3 +++ |
| 10 | tests/Makefile.am | 3 +++ |
| 11 | 2 files changed, 6 insertions(+) |
| 12 | |
| 13 | diff --git a/Makefile.am b/Makefile.am |
| 14 | index b7e7869..5076f59 100644 |
| 15 | --- a/Makefile.am |
| 16 | +++ b/Makefile.am |
| 17 | @@ -73,3 +73,6 @@ DISTCLEANFILES = mpopt.s blowfishopt.s sha1opt.s |
| 18 | |
| 19 | bench: |
| 20 | (cd tests && $(MAKE) $(AM_MAKEFLAGS) bench) |
| 21 | + |
| 22 | +install-ptest: |
| 23 | + (cd tests && $(MAKE) $(AM_MAKEFLAGS) check_PROGRAMS) |
| 24 | diff --git a/tests/Makefile.am b/tests/Makefile.am |
| 25 | index 1604e5e..d8db8d8 100644 |
| 26 | --- a/tests/Makefile.am |
| 27 | +++ b/tests/Makefile.am |
| 28 | @@ -101,3 +101,6 @@ bench: benchme benchrsa benchhf benchbc |
| 29 | ./benchbc AES 128 |
| 30 | ./benchbc Blowfish 128 |
| 31 | ./benchbc Blowfish 128 |
| 32 | + |
| 33 | +check_PROGRAMS: |
| 34 | + $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) |
| 35 | -- |
| 36 | 1.8.1.2 |
| 37 | |