Commits

Anonymous committed 8698fbd

making tests for bert.

  • Participants
  • Parent commits fa0ce44

Comments (0)

Files changed (2)

 FILES[] =
     bert
 
-LIB = ocamlbert
+LIB = bert
 
 .DEFAULT: $(OCamlLibrary $(LIB), $(FILES))
 
 #
 
 FILES[] =
-     tcp_server
+     tests_bert
+#     tcp_server
 
-PROGRAM = tcp_server 
+PROGRAM = tests_bert 
 
 FILES2[] =
      termreader
 
-OCAML_LIBS += ocamlbert
+OCAML_LIBS += bert
 OCAML_CLIBS +=
 OCAML_OTHER_LIBS += unix str
 OCAML_LIB_FLAGS +=
 
 .DEFAULT: $(OCamlProgram $(PROGRAM), $(FILES)) \
-	$(OCamlProgram termreader, $(FILES2))
+	  $(OCamlProgram termreader, $(FILES2))
 
 test: $(PROGRAM) termreader
 	./termreader$(EXE)
-#	./$(PROGRAM)$(EXE)
+	./$(PROGRAM)$(EXE)
 
+(** tests for bert.ml **)
+
+exception Test_failure;;
+
+let _ =
+  print_endline "hoge";
+  raise Test_failure;;
+