File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,9 +133,6 @@ if (BUILD_TESTS)
133133 # target runs tests without building them.
134134 add_custom_target (run_tests COMMAND ${CMAKE_CTEST_COMMAND}
135135 DEPENDS libjsonnet_test libjsonnet_test_file libjsonnet_test_snippet
136- jsonnet parser_test lexer_test libjsonnet++_test
136+ jsonnet parser_test lexer_test libjsonnet++_test libjsonnet_test_locale
137137 )
138-
139138endif ()
140-
141-
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ MAKEDEPEND_SRCS = \
147147 cmd/jsonnetfmt.cpp \
148148 core/libjsonnet_test_snippet.c \
149149 core/libjsonnet_test_file.c \
150- core /libjsonnet_test_locale.cpp
150+ cpp /libjsonnet_test_locale.cpp
151151
152152depend : core/std.jsonnet.h
153153 rm -f Makefile.depend
@@ -198,7 +198,7 @@ libjsonnet_test_file: $(LIBJSONNET_TEST_FILE_SRCS)
198198 $(CC ) $(CFLAGS ) $(LDFLAGS ) $< -L. -ljsonnet -o $@
199199
200200LIBJSONNET_TEST_LOCALE_SRCS = \
201- core /libjsonnet_test_locale.cpp \
201+ cpp /libjsonnet_test_locale.cpp \
202202 libjsonnet++.so \
203203 include/libjsonnet++.h
204204
Original file line number Diff line number Diff line change @@ -61,4 +61,7 @@ if (BUILD_TESTS)
6161 add_test_executablepp (libjsonnet++_test )
6262 # Run this in the source tree because it needs to access testdata files.
6363 add_test (NAME libjsonnet++_test COMMAND ${GLOBAL_OUTPUT_PATH} /libjsonnet++_test WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} /.." )
64+
65+ add_test_executablepp (libjsonnet_test_locale )
66+ add_test (NAME libjsonnet_test_locale COMMAND ${GLOBAL_OUTPUT_PATH} /libjsonnet_test_locale WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR} /.." )
6467endif ()
File renamed without changes.
You can’t perform that action at this time.
0 commit comments