Skip to content

Commit

Permalink
refresh tests list + save 'checkrel' helper
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Dec 7, 2018
1 parent fad8ae7 commit 4615f13
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions checkrel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh
echo "+ check all files in package.xml"

for i in $(ls *.c *.h)
do
[ $i == config.h ] && continue
grep -q $i package.xml || echo missing $i
done
for i in $(find tests -type f)
do
j=$(basename $i)
[ $j == .gitignore ] && continue
grep -q $j package.xml || echo missing $j
done
3 changes: 3 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@
<file name="apc_entry_002.phpt" role="test" />
<file name="apc_entry_003.phpt" role="test" />
<file name="apc_inc_perf.phpt" role="test" />
<file name="apc_store_reference.phpt" role="test" />
<file name="apcu_sma_info.phpt" role="test" />
<file name="bug63224.phpt" role="test" />
<file name="bug76145.phpt" role="test" />
<file name="get_included_files_inc1.inc" role="test" />
Expand All @@ -107,6 +109,7 @@
<file name="not_enough_shm.phpt" role="test" />
<file name="server_test.inc" role="test" />
<file name="skipif.inc" role="test" />
<file name="sma001.phpt" role="test" />
<file name="data/abc.data" role="test" />
<file name="bad/abc.data" role="test" />
</dir>
Expand Down

0 comments on commit 4615f13

Please sign in to comment.