diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-05-16 16:07:55 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-05-16 16:07:55 +0800 |
| commit | 26c6031a53867011eb33b624ed245d5603b778cf (patch) | |
| tree | d9ebdce9f246607409efc65f414704c96fb677d3 | |
| parent | dd6af6d2ec17c88c87844e75cd973fb4569c4c88 (diff) | |
| download | mruby-26c6031a53867011eb33b624ed245d5603b778cf.tar.gz mruby-26c6031a53867011eb33b624ed245d5603b778cf.zip | |
Move assert lib for tests one directory up and add it always in the beginning
| -rw-r--r-- | test/Makefile | 3 | ||||
| -rw-r--r-- | test/assert.rb (renamed from test/t/_assert.rb) | 0 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index 26c898704..7f5c16980 100644 --- a/test/Makefile +++ b/test/Makefile @@ -12,6 +12,7 @@ INIT := init_$(TARGET).c DLIB := $(TARGET).ctmp RLIB := $(TARGET).rbtmp DEPLIB := $(TARGET).d driver.d +ASSLIB := $(BASEDIR)/assert.rb MRBS := $(BASEDIR)/t/*.rb OBJS := driver.o $(MLIB) @@ -95,7 +96,7 @@ $(MRBC) : ../src/opcode.h ../src/codegen.c ../src/parse.y $(MAKE) -C ../tools/mrbc $(MAKE_FLAGS) # merge mruby sources -$(RLIB) : $(MRBS) +$(RLIB) : $(ASSLIB) $(MRBS) cat $? > $@ # clean up diff --git a/test/t/_assert.rb b/test/assert.rb index b2ce616e0..b2ce616e0 100644 --- a/test/t/_assert.rb +++ b/test/assert.rb |
