Put all test argument inside the system call
Closes Homebrew/homebrew#45293. Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
parent
f012ce70d4
commit
b0419f4a7e
1 changed files with 6 additions and 8 deletions
|
@ -40,14 +40,12 @@ class Eet < Formula
|
||||||
test do
|
test do
|
||||||
cp "#{pkgshare}/examples/eet-basic.c", testpath
|
cp "#{pkgshare}/examples/eet-basic.c", testpath
|
||||||
eina = Formula["eina"]
|
eina = Formula["eina"]
|
||||||
flags = %W[
|
system ENV.cc, "-o", "eet-basic", "eet-basic.c",
|
||||||
-I#{include}/eet-1
|
"-I#{include}/eet-1",
|
||||||
-I#{eina.include}/eina-1
|
"-I#{eina.include}/eina-1",
|
||||||
-I#{eina.include}/eina-1/eina
|
"-I#{eina.include}/eina-1/eina",
|
||||||
-L#{lib}
|
"-L#{lib}",
|
||||||
-leet
|
"-leet"
|
||||||
]
|
|
||||||
system ENV.cc, "-o", "eet-basic", "eet-basic.c", *flags
|
|
||||||
system "./eet-basic"
|
system "./eet-basic"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue