This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
jdk-build-libs
/
json-c
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
11
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
tests: compress test_utile_file with test_basic
More code compression/de-duplication. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
tags/json-c-0.13-20171207
Alexandru Ardelean
8 years ago
parent
ba8625a701
commit
9d47ae824c
3 changed files
with
6 additions
and
16 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
tests/test_basic.test
+0
-15
tests/test_util_file.test
+1
-0
tests/test_util_file.test
+ 5
- 1
tests/test_basic.test
View File
@@ -11,5 +11,9 @@ fi
filename=$(basename "$0")
filename="${filename%.*}"
run_output_test $filename
# This is only for the test_util_file.test ;
# more stuff could be extended
cp -f "$srcdir/valid.json" .
run_output_test $filename "$srcdir"
exit $?
+ 0
- 15
tests/test_util_file.test
View File
@@ -1,15 +0,0 @@
#!/bin/sh
# Common definitions
if test -z "$srcdir"; then
srcdir="${0%/*}"
test "$srcdir" = "$0" && srcdir=.
test -z "$srcdir" && srcdir=.
fi
. "$srcdir/test-defs.sh"
cp -f "$srcdir/valid.json" .
run_output_test test_util_file "$srcdir"
_err=$?
exit $_err
+ 1
- 0
tests/test_util_file.test
View File
@@ -0,0 +1 @@
test_basic.test
Write
Preview
Loading…
Cancel
Save