Skip to content

Commit

Permalink
Adjusting unit test for core
Browse files Browse the repository at this point in the history
  • Loading branch information
cpq committed Dec 6, 2013
1 parent 2cb325c commit af7efd9
Show file tree
Hide file tree
Showing 4 changed files with 610 additions and 136 deletions.
3 changes: 3 additions & 0 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ all:
unix_unit_test: $(LUA_SOURCES) Makefile ../test/unit_test.c
$(CC) ../test/unit_test.c lua_5.2.1.c $(CFLAGS) -g -O0 -o t && ./t

core_unit_test: Makefile ../test/unit_test.c
$(CC) ../test/unit_test.c $(CFLAGS) -g -O0 -o t && ./t

# Make sure that the compiler flags come last in the compilation string.
# If not so, this can break some on some Linux distros which use
# "-Wl,--as-needed" turned on by default in cc command.
Expand Down
Loading

0 comments on commit af7efd9

Please sign in to comment.