Skip to content

Commit 9212cef

Browse files
committed
added test running that is not dependent on Dist::Zilla
1 parent 3f2ef92 commit 9212cef

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ clean:
22
dzil clean
33
rm -rf _Inline
44
rm -rf t/_Inline
5+
rm -rf blib
56

67
test: clean
7-
dzil test
8+
./test-runner.sh
89

910
prepare: clean
1011
dzil build

test-runner.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
3+
mkdir -p blib/lib/auto/share/dist/OpenMP-Simple/ > /dev/null 2>&1
4+
cp -f share/openmp-simple.h blib/lib/auto/share/dist/OpenMP-Simple/openmp-simple.h
5+
cp -f share/ppport.h blib/lib/auto/share/dist/OpenMP-Simple/ppport.h
6+
PERL_DL_NONLAZY=1 perl -Ilib -MExtUtils::Command::MM -MTest::Harness -e "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t | grep '\.\.\.\.'

0 commit comments

Comments
 (0)