Re: [Shunit2-users] debian package
Brought to you by:
sfsetse
From: Kate W. <kat...@fo...> - 2010-03-28 23:33:11
|
shunit2 itself should never need to be executable when used in the manner described. Scripts that are sourced in using the '.' operator don't need the executable bit set. There was a request long ago to make shunit2 take the name of a separate script on its command line that it would then test, but I've never gone to the effort to make that change. As such, I've never written it to be executed. - kate On Thu, Mar 25, 2010 at 1:21 PM, lyase damasked <ly...@gm...> wrote: > shunit2 is called as follows in the scripts with the test . it will > have to be executable to work. > > #! /bin/sh > # file:willPass_test.sh > testEquality() > { > assertEquals 1 1 > } > # load shunit2 > . /usr/share/shunit2/shunit2 > ____________________________________________________________________ > if you package the examples . for squeeze be aware that the path for > shunit2 in the original sources shunit2-2.1.5 is > . ../src/shell/shunit2 > so that may have to be patched in all the examples. > in fact to my understanding shunit2 should go into /usr/bin > now for the build dependent. > if you run make (which builts the documentation before building the > package you will find it needs xsltproc &unzip. now it is true that > your package does not included the docs . and kate mentioned a shift > DocBook been replaced with ReStructuredText. in the lastest versions. > Lyase > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > shunit2-users mailing list > shu...@li... > https://lists.sourceforge.net/lists/listinfo/shunit2-users > -- Kate Ward <kat...@fo...> |