mirror of
https://github.com/albfan/bash-ini-parser.git
synced 2025-04-21 00:07:46 +03:00
Show errors on CI
This commit is contained in:
parent
0ce2bee87b
commit
47dddefc36
@ -3,6 +3,9 @@ language: c
|
||||
compiler:
|
||||
- gcc
|
||||
|
||||
env:
|
||||
- verbose=t
|
||||
|
||||
before_install:
|
||||
|
||||
script: cd t && make
|
||||
@ -11,6 +14,7 @@ script:
|
||||
- ./autogen.sh
|
||||
- cd t
|
||||
- make check
|
||||
- cat test-suite.log
|
||||
|
||||
notifications:
|
||||
email:
|
||||
|
@ -10,7 +10,7 @@ test_expect_success "Whitespace parse" "
|
||||
$COMMAND cfg_parser $DIR_TEST/whitespace.ini
|
||||
export COVERAGE_NAME=whitespace_writer
|
||||
$COMMAND cfg_writer > whitespace.out
|
||||
diff -u whitespace.out $DIR_TEST/whitespace.out.correct
|
||||
test_cmp whitespace.out $DIR_TEST/whitespace.out.correct
|
||||
"
|
||||
|
||||
test_done
|
||||
|
@ -10,7 +10,7 @@ test_expect_success "Parse sections" "
|
||||
$COMMAND cfg_parser $DIR_TEST/sections.ini
|
||||
export COVERAGE_NAME=sections_writer
|
||||
$COMMAND cfg_writer > sections.out
|
||||
diff $DIR_TEST/sections.out.correct sections.out
|
||||
test_cmp $DIR_TEST/sections.out.correct sections.out
|
||||
"
|
||||
|
||||
test_done
|
||||
|
@ -11,7 +11,7 @@ test_expect_success "Parse comments" "
|
||||
cp ../.simplecov .
|
||||
cfg_parser $DIR_TEST/comments.ini
|
||||
cfg_writer > comments.out
|
||||
diff $DIR_TEST/comments.out.correct comments.out
|
||||
test_cmp $DIR_TEST/comments.out.correct comments.out
|
||||
"
|
||||
|
||||
test_done
|
||||
|
@ -14,7 +14,7 @@ test_expect_success "Parse new var" "
|
||||
var2=bar
|
||||
cfg_update sec1 var2
|
||||
cfg_writer > var.out
|
||||
diff $DIR_TEST/var.out.correct var.out
|
||||
test_cmp $DIR_TEST/var.out.correct var.out
|
||||
"
|
||||
|
||||
test_done
|
||||
|
@ -6,7 +6,7 @@ test_description="check duplication"
|
||||
|
||||
DIR_TEST=$SHARNESS_TEST_DIRECTORY/t0006
|
||||
|
||||
test_expect_failure "Remove duplication" "
|
||||
test_expect_success "Remove duplication" "
|
||||
export COVERAGE_NAME=duplication_parser
|
||||
cp ../.simplecov .
|
||||
cfg_parser $DIR_TEST/duplication.ini
|
||||
@ -17,7 +17,7 @@ test_expect_failure "Remove duplication" "
|
||||
cfg_update sec1 var1
|
||||
export COVERAGE_NAME=duplication_writer
|
||||
cfg_writer > duplication.out
|
||||
diff $DIR_TEST/duplication.out.correct duplication.out
|
||||
test_cmp $DIR_TEST/duplication.out.correct duplication.out
|
||||
"
|
||||
|
||||
test_done
|
||||
|
Loading…
x
Reference in New Issue
Block a user