Make sure to run tests with async thread pools; include debugging symbols when building driver
This commit is contained in:
parent
86e733e45e
commit
11370e5cd0
1 changed files with 3 additions and 3 deletions
6
Rakefile
6
Rakefile
|
@ -17,12 +17,12 @@ end
|
|||
|
||||
file DRIVER => [:compile_c] do
|
||||
puts "linking priv/#{DRIVER}..."
|
||||
sh "gcc #{erts_link_cflags()} c_src/*.o c_src/system/lib/libdb-*.a -o #{DRIVER}", :verbose => false
|
||||
sh "gcc -g #{erts_link_cflags()} c_src/*.o c_src/system/lib/libdb-*.a -o #{DRIVER}", :verbose => false
|
||||
end
|
||||
|
||||
rule ".o" => ["%X.c", "%X.h"] do |t|
|
||||
puts "compiling #{t.source}..."
|
||||
sh "gcc -c -Wall -Werror -Ic_src/system/include -I#{erts_dir()}/include #{t.source} -o #{t.name}", :verbose => false
|
||||
sh "gcc -g -c -Wall -Werror -Ic_src/system/include -I#{erts_dir()}/include #{t.source} -o #{t.name}", :verbose => false
|
||||
end
|
||||
|
||||
task :compile_c => ['c_src'] + C_OBJS
|
||||
|
@ -30,6 +30,6 @@ task :compile_c => ['c_src'] + C_OBJS
|
|||
task :compile => [DB_LIB, DRIVER]
|
||||
|
||||
task :test do
|
||||
run_tests "test"
|
||||
run_tests "test", "+A10"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue