Files
poky/meta/recipes-support/beecrypt/beecrypt/beecrypt-enable-ptest-support.patch
Chong Lu 41d7758f3b beecrypt: add ptest support
Install beecrypt test suite and run it as ptest.
Make all ptest pass.

(From OE-Core rev: f344699eb15933cc7c92b0ed6894ef0869568659)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-10 15:16:50 +00:00

38 lines
888 B
Diff

beecrypt: enable ptest support
Upstream-Status: Inappropriate [embedded specific]
Add install-ptest rules.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
---
Makefile.am | 3 +++
tests/Makefile.am | 3 +++
2 files changed, 6 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index b7e7869..5076f59 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -73,3 +73,6 @@ DISTCLEANFILES = mpopt.s blowfishopt.s sha1opt.s
bench:
(cd tests && $(MAKE) $(AM_MAKEFLAGS) bench)
+
+install-ptest:
+ (cd tests && $(MAKE) $(AM_MAKEFLAGS) check_PROGRAMS)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1604e5e..d8db8d8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -101,3 +101,6 @@ bench: benchme benchrsa benchhf benchbc
./benchbc AES 128
./benchbc Blowfish 128
./benchbc Blowfish 128
+
+check_PROGRAMS:
+ $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
--
1.8.1.2