libtabula

Check-in [940bd74363]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:The dtest script now returns nonzero on error, so callers can tell whether it succeeded. The reason will be clear soon.
Timelines: family | ancestors | descendants | both | dtest-to-ctest
Files: files | file ages | folders
SHA1: 940bd74363938ddc3d5a3fdd5a54b53218b7e21f
User & Date: etr 2015-08-14 18:54:13
Context
2015-08-14
19:02
Added a CTest-based "test" top-level target which currently only runs dtest. We still have the top-level dtest target since "test" suppresses output, and that's important for debugging the integration tests. The plan now is to move the unit tests out of dtest into CTest, so that dtest returns to its classic (MySQL++ 2.x?) form, doing integration tests only. Closed-Leaf check-in: 869873f020 user: etr tags: dtest-to-ctest
18:54
The dtest script now returns nonzero on error, so callers can tell whether it succeeded. The reason will be clear soon. check-in: 940bd74363 user: etr tags: dtest-to-ctest
06:23
Squished a clang warning about an unused parameter reported on the MySQL++ mailing list by João M. S. Silva. check-in: d076442415 user: tangent tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to dtest.

97
98
99
100
101
102
103



104
105

106
107
108
109
110
111
112
BFILE=$BASE/bmark.txt
if [ -f $BFILE ]
then
	if diff -u -w $BFILE $TMP
	then
		echo
		echo 'All tests passed.'



	fi
	rm -f $TMP

else
	mv $TMP $BFILE
	chmod -w $BFILE
	echo
	echo 'BENCHMARK FILE REGENERATED.'
	echo
fi







>
>
>


>







97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
BFILE=$BASE/bmark.txt
if [ -f $BFILE ]
then
	if diff -u -w $BFILE $TMP
	then
		echo
		echo 'All tests passed.'
		ec=0
	else
		ec=1
	fi
	rm -f $TMP
	exit $ec
else
	mv $TMP $BFILE
	chmod -w $BFILE
	echo
	echo 'BENCHMARK FILE REGENERATED.'
	echo
fi