pkgsrc-WIP-cvs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: wip/paexec
Module name: wip
Committed by: cheusov
Date: Fri Sep 5 09:53:13 UTC 2008
Modified Files:
wip/paexec: Makefile PLIST distinfo
Log Message:
mirror site added to MASTER_SITES
updated to version 0.10.0
Lots of new regression tests
README file: 'make test' is documented
ADDED: -s option
Partially ordered set of tasks are read from stdin.
Instead of autonomous tasks, graph of the tasks is read from
stdin. In this mode every task can either FAIL or SUCCEED. As
always an empty line output by command means end of task. The
line before it shows an EXIT STATUS of the task. The word
"failure" means failure, "success" - success.
See examples/1_div_x/1_div_X_cmd for the sample. An input line
(paexec's stdin) should contain either single task without
spaces inside or two tasks separated by single space character,
e.g. task1<SPC>task2. task1<SPC>task2 line means that task1
must be done before task2 and it is mandatory, that is if task1
fail all dependent tasks (including task2) are also failed
recursively. Tasks having dependencies are started only after
all dependencies are succeeded. When a task succeeds paexec
outputs "success" word just before end_of_task marker (see -e
or -E), otherwise "failure" word is output followed by a list
of tasks failed because of it.
Samples:
tasks (examples/make_package/make_package_tasks file)
textproc/dictem
devel/autoconf wip/libmaa
devel/gmake wip/libmaa
wip/libmaa wip/dict-server
wip/libmaa wip/dict-client
devel/m4 wip/dict-server
devel/byacc wip/dict-server
devel/byacc wip/dict-client
devel/flex wip/dict-server
devel/flex wip/dict-client
devel/glib2
devel/libjudy
command (examples/make_package/make_package_cmd__flex)
#!/usr/bin/awk -f
{
print $0 # print a package name
if ($0 == "devel/flex")
print "failure" # cannot build flex ;-)
else
print "success" # all other packages are ok
print "" # end of task marker
fflush()
}
output of "paexec -s -l -c make_package_cmd__flex -n +10 \
< make_package_tasks"
3 devel/autoconf
3 success
4 devel/gmake
4 success
7 devel/m4
7 success
8 devel/byacc
8 success
9 devel/flex
9 failure
9 devel/flex wip/dict-server wip/dict-client
10 devel/glib2
10 success
11 devel/libjudy
11 success
1 textproc/dictem
1 success
2 wip/libmaa
2 success
To generate a diff of this commit:
cvs -z3 rdiff -u -r1.1 -r1.2 wip/paexec/PLIST
cvs -z3 rdiff -u -r1.11 -r1.12 wip/paexec/Makefile
cvs -z3 rdiff -u -r1.4 -r1.5 wip/paexec/distinfo
To view a diff of this commit:
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/paexec/PLIST?r1=1.1&r2=1.2
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/paexec/Makefile?r1=1.11&r2=1.12
http://pkgsrc-wip.cvs.sourceforge.net/pkgsrc-wip/wip/paexec/distinfo?r1=1.4&r2=1.5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pkgsrc-wip-cvs mailing list
pkgsrc-wip-cvs%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-cvs
Home |
Main Index |
Thread Index |
Old Index