libev: make test work on linux too
parent
ab80f01f01
commit
1dea4a94e6
|
@ -56,7 +56,7 @@ class Libev < Formula
|
|||
return 0;
|
||||
}
|
||||
EOS
|
||||
system ENV.cc, "-I#{include}", "-L#{lib}", "-lev", "-o", "test", "test.c"
|
||||
system ENV.cc, "test.c", "-I#{include}", "-L#{lib}", "-lev", "-o", "test"
|
||||
input = "hello, world\n"
|
||||
assert_equal input, pipe_output("./test", input, 0)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue