diff options
| author | 2023-04-21 12:40:18 +0200 | |
|---|---|---|
| committer | 2023-04-21 12:40:18 +0200 | |
| commit | 25ace1e8cb7f9a464c29dd2ce80cd68104d54f84 (patch) | |
| tree | b084e02e0021d78c62bae94ac2e2f214631a469d /test/empty++.test | |
| parent | 12c45a21b4f223ca2a4ccba42ade2366f4dbde5c (diff) | |
| download | libplist-25ace1e8cb7f9a464c29dd2ce80cd68104d54f84.tar.gz libplist-25ace1e8cb7f9a464c29dd2ce80cd68104d54f84.tar.bz2 | |
Add C++ interface test
Diffstat (limited to 'test/empty++.test')
| -rwxr-xr-x | test/empty++.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/empty++.test b/test/empty++.test new file mode 100755 index 0000000..f29e95e --- /dev/null +++ b/test/empty++.test | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | ## -*- sh -*- | ||
| 2 | |||
| 3 | DATASRC=$top_srcdir/test/data | ||
| 4 | DATAOUT=$top_builddir/test/data | ||
| 5 | TESTFILE=1.plist | ||
| 6 | |||
| 7 | if ! test -d "$DATAOUT"; then | ||
| 8 | mkdir -p $DATAOUT | ||
| 9 | fi | ||
| 10 | |||
| 11 | echo "Converting" | ||
| 12 | $top_builddir/test/plist_test++ $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out | ||
| 13 | |||
| 14 | echo "Comparing" | ||
| 15 | $top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.out | ||
