Skip to content

Commit

Permalink
Rename the "test_case" test to "test_charcase" to make it slightly le…
Browse files Browse the repository at this point in the history
…ss confusing.
  • Loading branch information
hawicz committed Mar 23, 2014
1 parent 9f26d96 commit e2bbb56
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 27 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
/tests/test_parse_int64
/tests/test_parse
/tests/test_cast
/tests/test_charcase
/tests/test_locale
/tests/test_null
/tests/test_printbuf
Expand Down
29 changes: 3 additions & 26 deletions tests/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

include ../Makefile.am.inc
LDADD= $(LIBJSON_LA)

LIBJSON_LA=$(top_builddir)/libjson-c.la

Expand All @@ -12,45 +13,21 @@ check_PROGRAMS += test_null
check_PROGRAMS += test_cast
check_PROGRAMS += test_parse
check_PROGRAMS += test_locale
check_PROGRAMS += test_case
check_PROGRAMS += test_charcase

test1_LDADD = $(LIBJSON_LA)

test1Formatted_LDADD= $(LIBJSON_LA)
test1Formatted_SOURCES = test1.c parse_flags.c
test1Formatted_CPPFLAGS = -DTEST_FORMATTED

test2_LDADD = $(LIBJSON_LA)

test2Formatted_LDADD= $(LIBJSON_LA)
test2Formatted_SOURCES = test2.c parse_flags.c
test2Formatted_CPPFLAGS = -DTEST_FORMATTED

test4_LDADD = $(LIBJSON_LA)

testReplaceExisting_LDADD = $(LIBJSON_LA)

test_parse_int64_LDADD = $(LIBJSON_LA)

test_null_LDADD = $(LIBJSON_LA)

test_cast_LDADD = $(LIBJSON_LA)

test_parse_LDADD = $(LIBJSON_LA)

test_locale_LDADD = $(LIBJSON_LA)

test_case_LDADD = $(LIBJSON_LA)

TESTS = test1.test test2.test test4.test testReplaceExisting.test parse_int64.test test_null.test test_cast.test test_parse.test test_locale.test test_case.test
TESTS = test1.test test2.test test4.test testReplaceExisting.test parse_int64.test test_null.test test_cast.test test_parse.test test_locale.test test_charcase.test

TESTS+= test_printbuf.test
check_PROGRAMS+=test_printbuf
test_printbuf_LDADD = $(LIBJSON_LA)

TESTS+= test_set_serializer.test
check_PROGRAMS += test_set_serializer
test_set_serializer_LDADD = $(LIBJSON_LA)

EXTRA_DIST=
EXTRA_DIST += $(TESTS)
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_case.test → tests/test_charcase.test
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ if test -z "$srcdir"; then
fi
. "$srcdir/test-defs.sh"

run_output_test test_case
run_output_test test_charcase
exit $?

0 comments on commit e2bbb56

Please sign in to comment.