Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

eunit as a submodule

  • Loading branch information...
commit b789942cfd67fa4552aeedc7233b513f718b51e9 1 parent df00cba
Abhay Kumar abhay authored
3  .gitmodules
View
@@ -0,0 +1,3 @@
+[submodule "deps/eunit"]
+ path = deps/eunit
+ url = git@github.com:abhay/eunit.git
12 Rakefile
View
@@ -2,7 +2,7 @@
require 'rubygems'
require 'rake'
-ERLC_TEST_FLAGS = "-pa ../ebin/eunit -I .. -I ../etest -I ../include/eunit -DTEST"
+ERLC_TEST_FLAGS = "-pa ../deps/eunit/ebin -I ../deps/eunit/include -I .. -I ../etest -DTEST"
ERLC_FLAGS = "+debug_info -W2 -I ../include -I ../include/yaws -o ../ebin"
FUZED_VERSION = "0.4.13"
@@ -17,7 +17,7 @@ task :build_dist do
end
task :econsole do
- sh "erl +Bc +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pz ./ebin/eunit -sname local_console_#{$$} -kernel start_boot_server true"
+ sh "erl +Bc +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pz ./deps/eunit/ebin -sname local_console_#{$$} -kernel start_boot_server true"
end
task :console do
@@ -26,7 +26,7 @@ end
task :distel do
puts "Starting distel editing session emacs@localhost"
- sh "erl +Bc +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pz ./ebin/eunit -name emacs@chisai.local -detached"
+ sh "erl +Bc +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pz ./deps/eunit/ebin -name emacs@chisai.local -detached"
end
task :test => [:default] do
@@ -40,7 +40,7 @@ task :test => [:default] do
end
mod_directives = mods.map {|m| "-run #{m} test"}.join(" ")
# -run #{ENV['MOD']} test
- sh %Q{erl +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pa ./ebin/eunit -sname local_console_#{$$} -noshell #{mod_directives} -run erlang halt}
+ sh %Q{erl +K true -smp enable -pz ./etest -pz ./ebin/yaws -pz ./ebin/ -pa ./deps/eunit/ebin -sname local_console_#{$$} -noshell #{mod_directives} -run erlang halt}
end
task :docs do
@@ -49,3 +49,7 @@ task :docs do
files = Dir["elibs/*.erl"].map { |x| "'../" + x + "'"}.join " "
sh %|cd doc && erl -noshell -s init stop -run edoc files #{files}|
end
+
+task :build_eunit do
+ sh %[cd deps/eunit && make clean && make all]
+end
2  bin/fuzed
View
@@ -13,7 +13,7 @@ $:.unshift(CMD_LINE_PATH)
DEFAULT_NODE_NAME = `hostname -s`.chomp + "-#{rand(9999)}"
DEFAULT_MASTER_NODE = "master@fuzed-dev.powerset.com"
-DEFAULT_ERLANG_CODEPATHS = %w[ebin/yaws ebin/mochiweb ebin/eunit etest ebin]
+DEFAULT_ERLANG_CODEPATHS = %w[ebin/yaws ebin/mochiweb deps/eunit/ebin etest ebin]
DEFAULT_BOOT_DIR = "/p/conf/fuzed/"
DEFAULT_HTTP_SERVER = "yaws"
1  deps/eunit
@@ -0,0 +1 @@
+Subproject commit fa9b549955101d6e98d31876e2e44feb96ca4d54
BIN  ebin/eunit/autoload.beam
View
Binary file not shown
BIN  ebin/eunit/code_monitor.beam
View
Binary file not shown
BIN  ebin/eunit/eunit.beam
View
Binary file not shown
BIN  ebin/eunit/eunit_autoexport.beam
View
Binary file not shown
BIN  ebin/eunit/eunit_data.beam
View
Binary file not shown
BIN  ebin/eunit/eunit_lib.beam
View
Binary file not shown
BIN  ebin/eunit/eunit_proc.beam
View
Binary file not shown
BIN  ebin/eunit/eunit_serial.beam
View
Binary file not shown
BIN  ebin/eunit/eunit_server.beam
View
Binary file not shown
BIN  ebin/eunit/eunit_striptests.beam
View
Binary file not shown
BIN  ebin/eunit/eunit_test.beam
View
Binary file not shown
BIN  ebin/eunit/eunit_tests.beam
View
Binary file not shown
BIN  ebin/eunit/eunit_tty.beam
View
Binary file not shown
BIN  ebin/eunit/file_monitor.beam
View
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.