X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=test%2Fwidgets%2FMakefile;fp=test%2Fwidgets%2FMakefile;h=ceacd0ced3ee0752497f7f7540312586f5e1fcd8;hp=18a303c3f0a4fc1751cf8a2bf2549069d7e7f70e;hb=9c015e3a4061fd64f1d82edaf3b1dafd9a1ef032;hpb=a5ad301e7371aef956524a85e3567eb261ab70bc diff --git a/test/widgets/Makefile b/test/widgets/Makefile index 18a303c..ceacd0c 100644 --- a/test/widgets/Makefile +++ b/test/widgets/Makefile @@ -30,7 +30,7 @@ screenshot: ${PHANTOMJS} ${PROG} ${PHANTOMJS_URL} ${IMAGES}/tmp.$$file.png ${SCREENSHOT_WIDTH_HEIGHT} ${TIMEOUT}; \ mv -f ${IMAGES}/tmp.$$file.png ${IMAGES}/$$file.png -screenshots: clean estimate-time +screenshots: clean estimate-time iframe for t in ${TESTS}; do \ for i in $$(cat url.$$t); do \ ${MAKE} PHANTOMJS_URL="$$i" TIMEOUT=4 PREFIX=$$t screenshot; \ @@ -45,10 +45,14 @@ estimate-time: index: ( cd ${IMAGES}; ls -tr ${PREFIX}.*.png | perl -ne 'chomp; print qq{

$$_



\n}' ) > index-${PREFIX}.html +iframe: index-iframe-demo +index-iframe-demo: + ( cat url.demos | perl -ne 'chomp; print qq{

$$_

\n}' ) > iframe-demos.html + help: @echo "make [ all | clean | distclean ]" @echo " [ screenshots ]" - @echo " [ screenshot | index ]" + @echo " [ screenshot | index | iframe ]" @echo "" @echo "Examples: " @echo ""