Overview
Comment: | Updated to include timeout for tests |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
404a1c438f2970109cd9b84852f18551 |
User & Date: | rkeene on 2015-09-14 19:04:20 |
Other Links: | manifest | tags |
Context
2015-10-07
| ||
02:38 | Fix hard-coded use of './kit' in the kitsh build script and improve how the kit target name is defined. check-in: f84245cd51 user: mistachkin tags: trunk | |
2015-09-14
| ||
19:04 | Updated to include timeout for tests check-in: 404a1c438f user: rkeene tags: trunk | |
2015-08-05
| ||
03:27 | Updated URL to tcllib check-in: faeac9b5b2 user: rkeene tags: trunk | |
Changes
Modified build/test/test from [df35486eb4] to [b787f2bb27].
︙ | ︙ | |||
493 494 495 496 497 498 499 | ## Clean tests log rm -f "${testresultslog}" for testscp in "${TESTDIR}"/tests/*.tcl; do testscp_tag="$(basename "${testscp}" .tcl)" testscppre="$(dirname "${testscp}")/${testscp_tag}.sh" scplogfile="${outputname}-${testscp_tag}.log" | < < < < < < < < < < < < < < < | | < < < < < | 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 | ## Clean tests log rm -f "${testresultslog}" for testscp in "${TESTDIR}"/tests/*.tcl; do testscp_tag="$(basename "${testscp}" .tcl)" testscppre="$(dirname "${testscp}")/${testscp_tag}.sh" scplogfile="${outputname}-${testscp_tag}.log" ( if [ -f "${testscppre}" ]; then . "${testscppre}" fi if [ "${kitdll}" = "1" ]; then timeout -k 10 600 ${kitruncmd} "${outputname}-tclsh" "${testscp}" "${outputname}" "${kit}" "${version}" else timeout -k 10 600 ${kitruncmd} "${outputname}" "${testscp}" "${outputname}" "${kit}" "${version}" fi ) > "${scplogfile}" 2>&1 if [ "$?" != "0" ]; then echo "Script failed: ${testscp_tag} on ${version}/${kit}" >&2 failed="${failed} ${version}/${kit}-test-${testscp_tag}" echo "${testscp_tag}: FAIL" >> "${testresultslog}" continue fi echo "${testscp_tag}: PASS" >> "${testresultslog}" rm -f "${scplogfile}" done if [ -f "${outputname}-origname" ]; then rm -f "${createdkit}" |
︙ | ︙ |