Mostly finished bitset tests, fixed test build to include utilities, remove

efence as valgrind far preferable.
This commit is contained in:
Matthew Bloch
2012-05-21 03:17:32 +01:00
parent c94b6f365c
commit f7ce2c0ea5
2 changed files with 118 additions and 8 deletions

View File

@@ -12,7 +12,6 @@ TEST_MODULES = Dir["tests/check_*.c"].map { |n| n[12..-3] }
if DEBUG
LDFLAGS << ["-g"]
CCFLAGS << ["-g -DDEBUG"]
LIBS << ["efence"]
end
rule 'default' => 'flexnbd'
@@ -38,7 +37,7 @@ rule 'flexnbd' => OBJECTS do |t|
gcc_link(t.name, t.sources)
end
rule(/tests\/check_[a-z]+$/ => [ proc { |target| target+".o" } ]) do |t|
rule(/tests\/check_[a-z]+$/ => [ proc { |target| [target+".o", "util.o"] } ]) do |t|
gcc_link(t.name, t.sources + [LIBCHECK])
end