From 44f6af70320eb2b31258ecf6dd08741a3f43d194 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Fri, 4 Mar 2016 15:21:51 -0500 Subject: Add shunit2; include with pandokia --- pandokia/pandokia.ini | 6 ++++++ shunit2/shunit2.ini | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 shunit2/shunit2.ini diff --git a/pandokia/pandokia.ini b/pandokia/pandokia.ini index 6d90e45..2969848 100644 --- a/pandokia/pandokia.ini +++ b/pandokia/pandokia.ini @@ -18,17 +18,23 @@ number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} [requirements] build : + nose + pytest + shunit2 setuptools python run : nose + shunit2 pytest python [test] imports : pandokia + pandokia.runners + pandokia.helpers commands : pdk --help diff --git a/shunit2/shunit2.ini b/shunit2/shunit2.ini new file mode 100644 index 0000000..dc244ee --- /dev/null +++ b/shunit2/shunit2.ini @@ -0,0 +1,38 @@ +[package] +name : shunit2 +version : 2.0.3 + +[about] +home : http://sourceforge.net/projects/${package:name} +license : LGPL +summary : ${package:name} + +[source] +fn : ${package:name}-${package:version}.tgz +url : https://downloads.sourceforge.net/${package:name}/${fn} + +[build] +number : 0 + +[requirements] +build : + #none +run : + #none + +[test] +commands : + shunit2 --help + + +[cbc_build] +linux : + mkdir -p $$PREFIX/bin \ + $$PREFIX/share/doc/${package:name} + chmod +x src/shell/shunit2 + cp -a src/shell/shunit2 $$PREFIX/bin + cp doc/* $$PREFIX/share/doc/${package:name} + +windows : + echo Nope. + exit 1 -- cgit