mirror of
https://github.com/libimobiledevice/libplist.git
synced 2026-05-17 20:30:34 +00:00
2cd858c679
Without the change tests ran in parallel occasionally clobber outputs of
one another and fail as:
$ make check -j16 VERBOSE=y
...
FAIL: huge
==========
Converting
File ../test/data/5.plist is open
PList XML parsing succeeded
PList BIN writing succeeded
PList BIN parsing succeeded
PList XML writing succeeded
Size of input and output is different
Input size : 4292380
Output size : 4305301
Comparing
PList parsing failed
FAIL huge.test (exit status: 3)
Closes: https://github.com/libimobiledevice/libplist/issues/234#issuecomment-1743820556
16 lines
329 B
Bash
Executable File
16 lines
329 B
Bash
Executable File
## -*- sh -*-
|
|
|
|
DATASRC=$top_srcdir/test/data
|
|
DATAOUT=$top_builddir/test/data
|
|
TESTFILE=4.plist
|
|
|
|
if ! test -d "$DATAOUT"; then
|
|
mkdir -p $DATAOUT
|
|
fi
|
|
|
|
echo "Converting"
|
|
$top_builddir/test/plist_test $DATASRC/$TESTFILE $DATAOUT/large.test.out
|
|
|
|
echo "Comparing"
|
|
$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/large.test.out
|