Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got makestub and autostub working with tests
- Loading branch information
1 parent
a518bff
commit e39b5f7
Showing
6 changed files
with
147 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,24 @@ | ||
use Test::More; | ||
#!/bin/bash | ||
|
||
pass 'Development testing'; | ||
source "`dirname $0`/setup" | ||
use Test::More | ||
BAIL_ON_FAIL | ||
|
||
git clone $TEST_HOME/../acme-math-xs-pm/.git -b eumm | ||
cd acme-math-xs-pm | ||
perl -MInline::Module=autostub -MAcme::Math::XS::Inline -e1 | ||
ok "`[ -f lib/Acme/Math/XS/Inline.pm ]`" "The stub file exists" | ||
|
||
cat lib/Acme/Math/XS/Inline.pm | ||
|
||
prove -lv t &> out | ||
pass "Acme::Math::XS passes its tests" | ||
|
||
perl Makefile.PL | ||
ok "`[ -f Makefile ]`" "The Makefile exists after 'perl Makefile.PL'" | ||
|
||
make | ||
ok "`[ -d blib ]`" "The 'blib' dir exists after 'make'" | ||
|
||
done_testing; | ||
teardown |