[pacman-dev] [PATCH] TESTS: add missing tests
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> --- If anybody's interested, I have a script that can be used in a post-{commit,merge,applypatch} hook to check for unlisted tests here: https://github.com/andrewgregory/bin/blob/master/checktestlist test/pacman/tests/TESTS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/pacman/tests/TESTS b/test/pacman/tests/TESTS index 2b47244..6652041 100644 --- a/test/pacman/tests/TESTS +++ b/test/pacman/tests/TESTS @@ -48,6 +48,8 @@ test/pacman/tests/fileconflict023.py \ test/pacman/tests/fileconflict024.py \ test/pacman/tests/fileconflict025.py \ test/pacman/tests/fileconflict030.py \ +test/pacman/tests/fileconflict031.py \ +test/pacman/tests/fileconflict032.py \ test/pacman/tests/ignore001.py \ test/pacman/tests/ignore002.py \ test/pacman/tests/ignore003.py \ @@ -158,6 +160,8 @@ test/pacman/tests/sync043.py \ test/pacman/tests/sync044.py \ test/pacman/tests/sync045.py \ test/pacman/tests/sync050.py \ +test/pacman/tests/sync051.py \ +test/pacman/tests/sync052.py \ test/pacman/tests/sync100.py \ test/pacman/tests/sync1000.py \ test/pacman/tests/sync1003.py \ -- 1.8.4
On 19/09/13 04:29, Andrew Gregory wrote:
If anybody's interested, I have a script that can be used in a post-{commit,merge,applypatch} hook to check for unlisted tests here: https://github.com/andrewgregory/bin/blob/master/checktestlist
Would it be better/possible to automatically generate this file at the start "make check"? Allan
This causes make to update TESTS when tests are added (or updated). For simplicity, this changes TESTS from a single multi-line list to individually appending each test file. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> --- Makefile.am | 3 + test/pacman/tests/TESTS | 583 ++++++++++++++++++++++++------------------------ 2 files changed, 294 insertions(+), 292 deletions(-) diff --git a/Makefile.am b/Makefile.am index f81fd79..a37be33 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,9 @@ dist_pkgdata_DATA = \ proto/proto.install \ proto/ChangeLog.proto +$(top_srcdir)/test/pacman/tests/TESTS: $(wildcard test/pacman/tests/*.py*) + @printf "TESTS += %s\n" $^ | sed -e "s/\.py\.in/.py/" | sort -u > "$@" + TESTS = test/scripts/parseopts_test.sh \ test/scripts/human_to_size_test.sh \ test/util/pacsorttest.sh \ diff --git a/test/pacman/tests/TESTS b/test/pacman/tests/TESTS index 6652041..fc6a7e8 100644 --- a/test/pacman/tests/TESTS +++ b/test/pacman/tests/TESTS @@ -1,292 +1,291 @@ -TESTS += \ -test/pacman/tests/clean001.py \ -test/pacman/tests/clean002.py \ -test/pacman/tests/clean003.py \ -test/pacman/tests/clean004.py \ -test/pacman/tests/clean005.py \ -test/pacman/tests/config001.py \ -test/pacman/tests/config002.py \ -test/pacman/tests/database001.py \ -test/pacman/tests/database002.py \ -test/pacman/tests/database010.py \ -test/pacman/tests/database011.py \ -test/pacman/tests/database012.py \ -test/pacman/tests/depconflict100.py \ -test/pacman/tests/depconflict110.py \ -test/pacman/tests/depconflict111.py \ -test/pacman/tests/depconflict120.py \ -test/pacman/tests/deptest001.py \ -test/pacman/tests/dummy001.py \ -test/pacman/tests/epoch001.py \ -test/pacman/tests/epoch002.py \ -test/pacman/tests/epoch003.py \ -test/pacman/tests/epoch004.py \ -test/pacman/tests/epoch005.py \ -test/pacman/tests/epoch010.py \ -test/pacman/tests/epoch011.py \ -test/pacman/tests/epoch012.py \ -test/pacman/tests/fileconflict001.py \ -test/pacman/tests/fileconflict002.py \ -test/pacman/tests/fileconflict003.py \ -test/pacman/tests/fileconflict004.py \ -test/pacman/tests/fileconflict005.py \ -test/pacman/tests/fileconflict006.py \ -test/pacman/tests/fileconflict007.py \ -test/pacman/tests/fileconflict008.py \ -test/pacman/tests/fileconflict009.py \ -test/pacman/tests/fileconflict010.py \ -test/pacman/tests/fileconflict011.py \ -test/pacman/tests/fileconflict012.py \ -test/pacman/tests/fileconflict013.py \ -test/pacman/tests/fileconflict015.py \ -test/pacman/tests/fileconflict016.py \ -test/pacman/tests/fileconflict017.py \ -test/pacman/tests/fileconflict020.py \ -test/pacman/tests/fileconflict021.py \ -test/pacman/tests/fileconflict022.py \ -test/pacman/tests/fileconflict023.py \ -test/pacman/tests/fileconflict024.py \ -test/pacman/tests/fileconflict025.py \ -test/pacman/tests/fileconflict030.py \ -test/pacman/tests/fileconflict031.py \ -test/pacman/tests/fileconflict032.py \ -test/pacman/tests/ignore001.py \ -test/pacman/tests/ignore002.py \ -test/pacman/tests/ignore003.py \ -test/pacman/tests/ignore004.py \ -test/pacman/tests/ignore005.py \ -test/pacman/tests/ignore006.py \ -test/pacman/tests/ignore007.py \ -test/pacman/tests/ignore008.py \ -test/pacman/tests/ldconfig001.py \ -test/pacman/tests/ldconfig002.py \ -test/pacman/tests/ldconfig003.py \ -test/pacman/tests/mode001.py \ -test/pacman/tests/mode002.py \ -test/pacman/tests/mode003.py \ -test/pacman/tests/pacman001.py \ -test/pacman/tests/pacman002.py \ -test/pacman/tests/pacman003.py \ -test/pacman/tests/pacman004.py \ -test/pacman/tests/pacman005.py \ -test/pacman/tests/provision001.py \ -test/pacman/tests/provision002.py \ -test/pacman/tests/provision003.py \ -test/pacman/tests/provision004.py \ -test/pacman/tests/provision010.py \ -test/pacman/tests/provision011.py \ -test/pacman/tests/provision012.py \ -test/pacman/tests/provision020.py \ -test/pacman/tests/provision021.py \ -test/pacman/tests/provision022.py \ -test/pacman/tests/query001.py \ -test/pacman/tests/query002.py \ -test/pacman/tests/query003.py \ -test/pacman/tests/query004.py \ -test/pacman/tests/query005.py \ -test/pacman/tests/query006.py \ -test/pacman/tests/query007.py \ -test/pacman/tests/query010.py \ -test/pacman/tests/query011.py \ -test/pacman/tests/query012.py \ -test/pacman/tests/reason001.py \ -test/pacman/tests/remove001.py \ -test/pacman/tests/remove002.py \ -test/pacman/tests/remove010.py \ -test/pacman/tests/remove011.py \ -test/pacman/tests/remove012.py \ -test/pacman/tests/remove020.py \ -test/pacman/tests/remove021.py \ -test/pacman/tests/remove030.py \ -test/pacman/tests/remove031.py \ -test/pacman/tests/remove040.py \ -test/pacman/tests/remove041.py \ -test/pacman/tests/remove042.py \ -test/pacman/tests/remove043.py \ -test/pacman/tests/remove044.py \ -test/pacman/tests/remove045.py \ -test/pacman/tests/remove047.py \ -test/pacman/tests/remove049.py \ -test/pacman/tests/remove050.py \ -test/pacman/tests/remove051.py \ -test/pacman/tests/remove052.py \ -test/pacman/tests/remove060.py \ -test/pacman/tests/remove070.py \ -test/pacman/tests/remove071.py \ -test/pacman/tests/replace100.py \ -test/pacman/tests/replace101.py \ -test/pacman/tests/replace102.py \ -test/pacman/tests/replace103.py \ -test/pacman/tests/replace104.py \ -test/pacman/tests/replace110.py \ -test/pacman/tests/scriptlet001.py \ -test/pacman/tests/scriptlet002.py \ -test/pacman/tests/sign001.py \ -test/pacman/tests/sign002.py \ -test/pacman/tests/smoke001.py \ -test/pacman/tests/smoke002.py \ -test/pacman/tests/smoke003.py \ -test/pacman/tests/smoke004.py \ -test/pacman/tests/symlink001.py \ -test/pacman/tests/symlink002.py \ -test/pacman/tests/symlink010.py \ -test/pacman/tests/symlink011.py \ -test/pacman/tests/symlink012.py \ -test/pacman/tests/symlink020.py \ -test/pacman/tests/sync-nodepversion01.py \ -test/pacman/tests/sync-nodepversion02.py \ -test/pacman/tests/sync-nodepversion03.py \ -test/pacman/tests/sync-nodepversion04.py \ -test/pacman/tests/sync-nodepversion05.py \ -test/pacman/tests/sync-nodepversion06.py \ -test/pacman/tests/sync001.py \ -test/pacman/tests/sync002.py \ -test/pacman/tests/sync003.py \ -test/pacman/tests/sync009.py \ -test/pacman/tests/sync010.py \ -test/pacman/tests/sync011.py \ -test/pacman/tests/sync012.py \ -test/pacman/tests/sync020.py \ -test/pacman/tests/sync021.py \ -test/pacman/tests/sync022.py \ -test/pacman/tests/sync023.py \ -test/pacman/tests/sync024.py \ -test/pacman/tests/sync030.py \ -test/pacman/tests/sync031.py \ -test/pacman/tests/sync040.py \ -test/pacman/tests/sync041.py \ -test/pacman/tests/sync042.py \ -test/pacman/tests/sync043.py \ -test/pacman/tests/sync044.py \ -test/pacman/tests/sync045.py \ -test/pacman/tests/sync050.py \ -test/pacman/tests/sync051.py \ -test/pacman/tests/sync052.py \ -test/pacman/tests/sync100.py \ -test/pacman/tests/sync1000.py \ -test/pacman/tests/sync1003.py \ -test/pacman/tests/sync1004.py \ -test/pacman/tests/sync1008.py \ -test/pacman/tests/sync101.py \ -test/pacman/tests/sync102.py \ -test/pacman/tests/sync103.py \ -test/pacman/tests/sync104.py \ -test/pacman/tests/sync110.py \ -test/pacman/tests/sync1100.py \ -test/pacman/tests/sync1101.py \ -test/pacman/tests/sync1102.py \ -test/pacman/tests/sync1103.py \ -test/pacman/tests/sync1104.py \ -test/pacman/tests/sync1105.py \ -test/pacman/tests/sync120.py \ -test/pacman/tests/sync130.py \ -test/pacman/tests/sync131.py \ -test/pacman/tests/sync132.py \ -test/pacman/tests/sync133.py \ -test/pacman/tests/sync134.py \ -test/pacman/tests/sync135.py \ -test/pacman/tests/sync136.py \ -test/pacman/tests/sync137.py \ -test/pacman/tests/sync138.py \ -test/pacman/tests/sync139.py \ -test/pacman/tests/sync140.py \ -test/pacman/tests/sync141.py \ -test/pacman/tests/sync150.py \ -test/pacman/tests/sync200.py \ -test/pacman/tests/sync300.py \ -test/pacman/tests/sync306.py \ -test/pacman/tests/sync400.py \ -test/pacman/tests/sync401.py \ -test/pacman/tests/sync402.py \ -test/pacman/tests/sync403.py \ -test/pacman/tests/sync404.py \ -test/pacman/tests/sync405.py \ -test/pacman/tests/sync406.py \ -test/pacman/tests/sync407.py \ -test/pacman/tests/sync500.py \ -test/pacman/tests/sync501.py \ -test/pacman/tests/sync502.py \ -test/pacman/tests/sync503.py \ -test/pacman/tests/sync600.py \ -test/pacman/tests/sync700.py \ -test/pacman/tests/sync701.py \ -test/pacman/tests/sync702.py \ -test/pacman/tests/sync890.py \ -test/pacman/tests/sync891.py \ -test/pacman/tests/sync892.py \ -test/pacman/tests/sync893.py \ -test/pacman/tests/sync895.py \ -test/pacman/tests/sync896.py \ -test/pacman/tests/sync897.py \ -test/pacman/tests/sync898.py \ -test/pacman/tests/sync899.py \ -test/pacman/tests/sync900.py \ -test/pacman/tests/sync901.py \ -test/pacman/tests/sync990.py \ -test/pacman/tests/sync992.py \ -test/pacman/tests/sync993.py \ -test/pacman/tests/sync999.py \ -test/pacman/tests/trans001.py \ -test/pacman/tests/type001.py \ -test/pacman/tests/unresolvable001.py \ -test/pacman/tests/upgrade001.py \ -test/pacman/tests/upgrade002.py \ -test/pacman/tests/upgrade003.py \ -test/pacman/tests/upgrade004.py \ -test/pacman/tests/upgrade005.py \ -test/pacman/tests/upgrade006.py \ -test/pacman/tests/upgrade010.py \ -test/pacman/tests/upgrade011.py \ -test/pacman/tests/upgrade012.py \ -test/pacman/tests/upgrade013.py \ -test/pacman/tests/upgrade014.py \ -test/pacman/tests/upgrade015.py \ -test/pacman/tests/upgrade016.py \ -test/pacman/tests/upgrade020.py \ -test/pacman/tests/upgrade021.py \ -test/pacman/tests/upgrade022.py \ -test/pacman/tests/upgrade023.py \ -test/pacman/tests/upgrade024.py \ -test/pacman/tests/upgrade025.py \ -test/pacman/tests/upgrade026.py \ -test/pacman/tests/upgrade027.py \ -test/pacman/tests/upgrade028.py \ -test/pacman/tests/upgrade029.py \ -test/pacman/tests/upgrade030.py \ -test/pacman/tests/upgrade031.py \ -test/pacman/tests/upgrade032.py \ -test/pacman/tests/upgrade040.py \ -test/pacman/tests/upgrade041.py \ -test/pacman/tests/upgrade042.py \ -test/pacman/tests/upgrade043.py \ -test/pacman/tests/upgrade045.py \ -test/pacman/tests/upgrade046.py \ -test/pacman/tests/upgrade050.py \ -test/pacman/tests/upgrade051.py \ -test/pacman/tests/upgrade052.py \ -test/pacman/tests/upgrade053.py \ -test/pacman/tests/upgrade054.py \ -test/pacman/tests/upgrade055.py \ -test/pacman/tests/upgrade056.py \ -test/pacman/tests/upgrade057.py \ -test/pacman/tests/upgrade058.py \ -test/pacman/tests/upgrade059.py \ -test/pacman/tests/upgrade060.py \ -test/pacman/tests/upgrade061.py \ -test/pacman/tests/upgrade070.py \ -test/pacman/tests/upgrade071.py \ -test/pacman/tests/upgrade072.py \ -test/pacman/tests/upgrade073.py \ -test/pacman/tests/upgrade074.py \ -test/pacman/tests/upgrade075.py \ -test/pacman/tests/upgrade076.py \ -test/pacman/tests/upgrade077.py \ -test/pacman/tests/upgrade078.py \ -test/pacman/tests/upgrade080.py \ -test/pacman/tests/upgrade081.py \ -test/pacman/tests/upgrade082.py \ -test/pacman/tests/upgrade083.py \ -test/pacman/tests/upgrade084.py \ -test/pacman/tests/upgrade090.py \ -test/pacman/tests/upgrade100.py \ -test/pacman/tests/xfercommand001.py +TESTS += test/pacman/tests/clean001.py +TESTS += test/pacman/tests/clean002.py +TESTS += test/pacman/tests/clean003.py +TESTS += test/pacman/tests/clean004.py +TESTS += test/pacman/tests/clean005.py +TESTS += test/pacman/tests/config001.py +TESTS += test/pacman/tests/config002.py +TESTS += test/pacman/tests/database001.py +TESTS += test/pacman/tests/database002.py +TESTS += test/pacman/tests/database010.py +TESTS += test/pacman/tests/database011.py +TESTS += test/pacman/tests/database012.py +TESTS += test/pacman/tests/depconflict100.py +TESTS += test/pacman/tests/depconflict110.py +TESTS += test/pacman/tests/depconflict111.py +TESTS += test/pacman/tests/depconflict120.py +TESTS += test/pacman/tests/deptest001.py +TESTS += test/pacman/tests/dummy001.py +TESTS += test/pacman/tests/epoch001.py +TESTS += test/pacman/tests/epoch002.py +TESTS += test/pacman/tests/epoch003.py +TESTS += test/pacman/tests/epoch004.py +TESTS += test/pacman/tests/epoch005.py +TESTS += test/pacman/tests/epoch010.py +TESTS += test/pacman/tests/epoch011.py +TESTS += test/pacman/tests/epoch012.py +TESTS += test/pacman/tests/fileconflict001.py +TESTS += test/pacman/tests/fileconflict002.py +TESTS += test/pacman/tests/fileconflict003.py +TESTS += test/pacman/tests/fileconflict004.py +TESTS += test/pacman/tests/fileconflict005.py +TESTS += test/pacman/tests/fileconflict006.py +TESTS += test/pacman/tests/fileconflict007.py +TESTS += test/pacman/tests/fileconflict008.py +TESTS += test/pacman/tests/fileconflict009.py +TESTS += test/pacman/tests/fileconflict010.py +TESTS += test/pacman/tests/fileconflict011.py +TESTS += test/pacman/tests/fileconflict012.py +TESTS += test/pacman/tests/fileconflict013.py +TESTS += test/pacman/tests/fileconflict015.py +TESTS += test/pacman/tests/fileconflict016.py +TESTS += test/pacman/tests/fileconflict017.py +TESTS += test/pacman/tests/fileconflict020.py +TESTS += test/pacman/tests/fileconflict021.py +TESTS += test/pacman/tests/fileconflict022.py +TESTS += test/pacman/tests/fileconflict023.py +TESTS += test/pacman/tests/fileconflict024.py +TESTS += test/pacman/tests/fileconflict025.py +TESTS += test/pacman/tests/fileconflict030.py +TESTS += test/pacman/tests/fileconflict031.py +TESTS += test/pacman/tests/fileconflict032.py +TESTS += test/pacman/tests/ignore001.py +TESTS += test/pacman/tests/ignore002.py +TESTS += test/pacman/tests/ignore003.py +TESTS += test/pacman/tests/ignore004.py +TESTS += test/pacman/tests/ignore005.py +TESTS += test/pacman/tests/ignore006.py +TESTS += test/pacman/tests/ignore007.py +TESTS += test/pacman/tests/ignore008.py +TESTS += test/pacman/tests/ldconfig001.py +TESTS += test/pacman/tests/ldconfig002.py +TESTS += test/pacman/tests/ldconfig003.py +TESTS += test/pacman/tests/mode001.py +TESTS += test/pacman/tests/mode002.py +TESTS += test/pacman/tests/mode003.py +TESTS += test/pacman/tests/pacman001.py +TESTS += test/pacman/tests/pacman002.py +TESTS += test/pacman/tests/pacman003.py +TESTS += test/pacman/tests/pacman004.py +TESTS += test/pacman/tests/pacman005.py +TESTS += test/pacman/tests/provision001.py +TESTS += test/pacman/tests/provision002.py +TESTS += test/pacman/tests/provision003.py +TESTS += test/pacman/tests/provision004.py +TESTS += test/pacman/tests/provision010.py +TESTS += test/pacman/tests/provision011.py +TESTS += test/pacman/tests/provision012.py +TESTS += test/pacman/tests/provision020.py +TESTS += test/pacman/tests/provision021.py +TESTS += test/pacman/tests/provision022.py +TESTS += test/pacman/tests/query001.py +TESTS += test/pacman/tests/query002.py +TESTS += test/pacman/tests/query003.py +TESTS += test/pacman/tests/query004.py +TESTS += test/pacman/tests/query005.py +TESTS += test/pacman/tests/query006.py +TESTS += test/pacman/tests/query007.py +TESTS += test/pacman/tests/query010.py +TESTS += test/pacman/tests/query011.py +TESTS += test/pacman/tests/query012.py +TESTS += test/pacman/tests/reason001.py +TESTS += test/pacman/tests/remove001.py +TESTS += test/pacman/tests/remove002.py +TESTS += test/pacman/tests/remove010.py +TESTS += test/pacman/tests/remove011.py +TESTS += test/pacman/tests/remove012.py +TESTS += test/pacman/tests/remove020.py +TESTS += test/pacman/tests/remove021.py +TESTS += test/pacman/tests/remove030.py +TESTS += test/pacman/tests/remove031.py +TESTS += test/pacman/tests/remove040.py +TESTS += test/pacman/tests/remove041.py +TESTS += test/pacman/tests/remove042.py +TESTS += test/pacman/tests/remove043.py +TESTS += test/pacman/tests/remove044.py +TESTS += test/pacman/tests/remove045.py +TESTS += test/pacman/tests/remove047.py +TESTS += test/pacman/tests/remove049.py +TESTS += test/pacman/tests/remove050.py +TESTS += test/pacman/tests/remove051.py +TESTS += test/pacman/tests/remove052.py +TESTS += test/pacman/tests/remove060.py +TESTS += test/pacman/tests/remove070.py +TESTS += test/pacman/tests/remove071.py +TESTS += test/pacman/tests/replace100.py +TESTS += test/pacman/tests/replace101.py +TESTS += test/pacman/tests/replace102.py +TESTS += test/pacman/tests/replace103.py +TESTS += test/pacman/tests/replace104.py +TESTS += test/pacman/tests/replace110.py +TESTS += test/pacman/tests/scriptlet001.py +TESTS += test/pacman/tests/scriptlet002.py +TESTS += test/pacman/tests/sign001.py +TESTS += test/pacman/tests/sign002.py +TESTS += test/pacman/tests/smoke001.py +TESTS += test/pacman/tests/smoke002.py +TESTS += test/pacman/tests/smoke003.py +TESTS += test/pacman/tests/smoke004.py +TESTS += test/pacman/tests/symlink001.py +TESTS += test/pacman/tests/symlink002.py +TESTS += test/pacman/tests/symlink010.py +TESTS += test/pacman/tests/symlink011.py +TESTS += test/pacman/tests/symlink012.py +TESTS += test/pacman/tests/symlink020.py +TESTS += test/pacman/tests/sync-nodepversion01.py +TESTS += test/pacman/tests/sync-nodepversion02.py +TESTS += test/pacman/tests/sync-nodepversion03.py +TESTS += test/pacman/tests/sync-nodepversion04.py +TESTS += test/pacman/tests/sync-nodepversion05.py +TESTS += test/pacman/tests/sync-nodepversion06.py +TESTS += test/pacman/tests/sync001.py +TESTS += test/pacman/tests/sync002.py +TESTS += test/pacman/tests/sync003.py +TESTS += test/pacman/tests/sync009.py +TESTS += test/pacman/tests/sync010.py +TESTS += test/pacman/tests/sync011.py +TESTS += test/pacman/tests/sync012.py +TESTS += test/pacman/tests/sync020.py +TESTS += test/pacman/tests/sync021.py +TESTS += test/pacman/tests/sync022.py +TESTS += test/pacman/tests/sync023.py +TESTS += test/pacman/tests/sync024.py +TESTS += test/pacman/tests/sync030.py +TESTS += test/pacman/tests/sync031.py +TESTS += test/pacman/tests/sync040.py +TESTS += test/pacman/tests/sync041.py +TESTS += test/pacman/tests/sync042.py +TESTS += test/pacman/tests/sync043.py +TESTS += test/pacman/tests/sync044.py +TESTS += test/pacman/tests/sync045.py +TESTS += test/pacman/tests/sync050.py +TESTS += test/pacman/tests/sync051.py +TESTS += test/pacman/tests/sync052.py +TESTS += test/pacman/tests/sync100.py +TESTS += test/pacman/tests/sync1000.py +TESTS += test/pacman/tests/sync1003.py +TESTS += test/pacman/tests/sync1004.py +TESTS += test/pacman/tests/sync1008.py +TESTS += test/pacman/tests/sync101.py +TESTS += test/pacman/tests/sync102.py +TESTS += test/pacman/tests/sync103.py +TESTS += test/pacman/tests/sync104.py +TESTS += test/pacman/tests/sync110.py +TESTS += test/pacman/tests/sync1100.py +TESTS += test/pacman/tests/sync1101.py +TESTS += test/pacman/tests/sync1102.py +TESTS += test/pacman/tests/sync1103.py +TESTS += test/pacman/tests/sync1104.py +TESTS += test/pacman/tests/sync1105.py +TESTS += test/pacman/tests/sync120.py +TESTS += test/pacman/tests/sync130.py +TESTS += test/pacman/tests/sync131.py +TESTS += test/pacman/tests/sync132.py +TESTS += test/pacman/tests/sync133.py +TESTS += test/pacman/tests/sync134.py +TESTS += test/pacman/tests/sync135.py +TESTS += test/pacman/tests/sync136.py +TESTS += test/pacman/tests/sync137.py +TESTS += test/pacman/tests/sync138.py +TESTS += test/pacman/tests/sync139.py +TESTS += test/pacman/tests/sync140.py +TESTS += test/pacman/tests/sync141.py +TESTS += test/pacman/tests/sync150.py +TESTS += test/pacman/tests/sync200.py +TESTS += test/pacman/tests/sync300.py +TESTS += test/pacman/tests/sync306.py +TESTS += test/pacman/tests/sync400.py +TESTS += test/pacman/tests/sync401.py +TESTS += test/pacman/tests/sync402.py +TESTS += test/pacman/tests/sync403.py +TESTS += test/pacman/tests/sync404.py +TESTS += test/pacman/tests/sync405.py +TESTS += test/pacman/tests/sync406.py +TESTS += test/pacman/tests/sync407.py +TESTS += test/pacman/tests/sync500.py +TESTS += test/pacman/tests/sync501.py +TESTS += test/pacman/tests/sync502.py +TESTS += test/pacman/tests/sync503.py +TESTS += test/pacman/tests/sync600.py +TESTS += test/pacman/tests/sync700.py +TESTS += test/pacman/tests/sync701.py +TESTS += test/pacman/tests/sync702.py +TESTS += test/pacman/tests/sync890.py +TESTS += test/pacman/tests/sync891.py +TESTS += test/pacman/tests/sync892.py +TESTS += test/pacman/tests/sync893.py +TESTS += test/pacman/tests/sync895.py +TESTS += test/pacman/tests/sync896.py +TESTS += test/pacman/tests/sync897.py +TESTS += test/pacman/tests/sync898.py +TESTS += test/pacman/tests/sync899.py +TESTS += test/pacman/tests/sync900.py +TESTS += test/pacman/tests/sync901.py +TESTS += test/pacman/tests/sync990.py +TESTS += test/pacman/tests/sync992.py +TESTS += test/pacman/tests/sync993.py +TESTS += test/pacman/tests/sync999.py +TESTS += test/pacman/tests/trans001.py +TESTS += test/pacman/tests/type001.py +TESTS += test/pacman/tests/unresolvable001.py +TESTS += test/pacman/tests/upgrade001.py +TESTS += test/pacman/tests/upgrade002.py +TESTS += test/pacman/tests/upgrade003.py +TESTS += test/pacman/tests/upgrade004.py +TESTS += test/pacman/tests/upgrade005.py +TESTS += test/pacman/tests/upgrade006.py +TESTS += test/pacman/tests/upgrade010.py +TESTS += test/pacman/tests/upgrade011.py +TESTS += test/pacman/tests/upgrade012.py +TESTS += test/pacman/tests/upgrade013.py +TESTS += test/pacman/tests/upgrade014.py +TESTS += test/pacman/tests/upgrade015.py +TESTS += test/pacman/tests/upgrade016.py +TESTS += test/pacman/tests/upgrade020.py +TESTS += test/pacman/tests/upgrade021.py +TESTS += test/pacman/tests/upgrade022.py +TESTS += test/pacman/tests/upgrade023.py +TESTS += test/pacman/tests/upgrade024.py +TESTS += test/pacman/tests/upgrade025.py +TESTS += test/pacman/tests/upgrade026.py +TESTS += test/pacman/tests/upgrade027.py +TESTS += test/pacman/tests/upgrade028.py +TESTS += test/pacman/tests/upgrade029.py +TESTS += test/pacman/tests/upgrade030.py +TESTS += test/pacman/tests/upgrade031.py +TESTS += test/pacman/tests/upgrade032.py +TESTS += test/pacman/tests/upgrade040.py +TESTS += test/pacman/tests/upgrade041.py +TESTS += test/pacman/tests/upgrade042.py +TESTS += test/pacman/tests/upgrade043.py +TESTS += test/pacman/tests/upgrade045.py +TESTS += test/pacman/tests/upgrade046.py +TESTS += test/pacman/tests/upgrade050.py +TESTS += test/pacman/tests/upgrade051.py +TESTS += test/pacman/tests/upgrade052.py +TESTS += test/pacman/tests/upgrade053.py +TESTS += test/pacman/tests/upgrade054.py +TESTS += test/pacman/tests/upgrade055.py +TESTS += test/pacman/tests/upgrade056.py +TESTS += test/pacman/tests/upgrade057.py +TESTS += test/pacman/tests/upgrade058.py +TESTS += test/pacman/tests/upgrade059.py +TESTS += test/pacman/tests/upgrade060.py +TESTS += test/pacman/tests/upgrade061.py +TESTS += test/pacman/tests/upgrade070.py +TESTS += test/pacman/tests/upgrade071.py +TESTS += test/pacman/tests/upgrade072.py +TESTS += test/pacman/tests/upgrade073.py +TESTS += test/pacman/tests/upgrade074.py +TESTS += test/pacman/tests/upgrade075.py +TESTS += test/pacman/tests/upgrade076.py +TESTS += test/pacman/tests/upgrade077.py +TESTS += test/pacman/tests/upgrade078.py +TESTS += test/pacman/tests/upgrade080.py +TESTS += test/pacman/tests/upgrade081.py +TESTS += test/pacman/tests/upgrade082.py +TESTS += test/pacman/tests/upgrade083.py +TESTS += test/pacman/tests/upgrade084.py +TESTS += test/pacman/tests/upgrade090.py +TESTS += test/pacman/tests/upgrade100.py +TESTS += test/pacman/tests/xfercommand001.py -- 1.8.4
On 20/09/13 12:00, Andrew Gregory wrote:
This causes make to update TESTS when tests are added (or updated). For simplicity, this changes TESTS from a single multi-line list to individually appending each test file.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> --- Makefile.am | 3 + test/pacman/tests/TESTS | 583 ++++++++++++++++++++++++------------------------ 2 files changed, 294 insertions(+), 292 deletions(-)
diff --git a/Makefile.am b/Makefile.am index f81fd79..a37be33 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,9 @@ dist_pkgdata_DATA = \ proto/proto.install \ proto/ChangeLog.proto
+$(top_srcdir)/test/pacman/tests/TESTS: $(wildcard test/pacman/tests/*.py*) + @printf "TESTS += %s\n" $^ | sed -e "s/\.py\.in/.py/" | sort -u > "$@" +
Ack. I adjusted the line to "... | LC_ALL=C sort -u ..." for consistent sorting. Allan
participants (2)
-
Allan McRae
-
Andrew Gregory