Project

General

Profile

Revision 2511454c

View differences:

Makefile.in
112 112
test-full: test-config
113 113
	cd test; ctest -D Experimental
114 114

  
115
tests:
116
	@echo Launching tests
117
	@make -C src tests
115 118

  
116
.PHONY: all compile-lusi doc dot lustrec lustrec.odocl clean install dist-clean
119
.PHONY: all compile-lusi doc dot lustrec lustrec.odocl clean install dist-clean tests
src/Makefile.in
36 36
	@mkdir -p $(LOCAL_BINDIR)
37 37
	@mv _build/tools/stateflow/json-parser/main_parse_json_file.native $(LOCAL_BINDIR)/json-parser
38 38

  
39
tests:	test-simple-var
40

  
41
test-simple-var:
42
	@echo Compiling simple tests for JSON parser -- tests on variables
43
	@$(OCAMLBUILD) tools/stateflow/json-parser/test_json_parser_variables.native
44
	@echo Lauching simple tests for JSON parser -- tests on variables
45
	./_build/tools/stateflow/json-parser/test_json_parser_variables.native
46

  
39 47
doc:
40 48
	@echo Generating doc
41 49
	@$(OCAMLBUILD) lustrec.docdir/index.html
......
57 65
install:
58 66
	make -C .. install
59 67

  
60
.PHONY: compile-lusi doc dot lustrec lustret lustrec.odocl clean install dist-clean
68
.PHONY: compile-lusi doc dot lustrec lustret lustrec.odocl clean install dist-clean tests
src/_tags.in
15 15
"tools/stateflow/models": include
16 16
"tools/stateflow/json-parser": include
17 17

  
18
# svn
18 19
<**/.svn>: -traverse
19 20
<**/.svn>: not_hygienic
20 21

  
......
33 34
<**/main_parse_json_file.*>     : package(logs.fmt)
34 35
<**/main_parse_json_file.*>     : package(logs.cli)
35 36
<**/main_parse_json_file.*>     : package(yojson)
37
<**/test_*.*>                   : package(oUnit)
38
<**/test_json*.*>               : package(yojson)
36 39

  
37 40
# Required for ocamldoc. Otherwise failed to build
38 41
<*.ml{,i}>: package(ocamlgraph)

Also available in: Unified diff