libwpg: run test program in addition to compiling it
This commit is contained in:
parent
627a1397b8
commit
187f72cae9
1 changed files with 2 additions and 1 deletions
|
@ -29,8 +29,9 @@ class Libwpg < Formula
|
|||
return libwpg::WPG_AUTODETECT;
|
||||
}
|
||||
EOS
|
||||
system ENV.cc, "test.cpp",
|
||||
system ENV.cc, "test.cpp", "-o", "test",
|
||||
"-lrevenge-0.0", "-I#{Formula['librevenge'].include}/librevenge-0.0",
|
||||
"-lwpg-0.3", "-I#{include}/libwpg-0.3"
|
||||
system "./test"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue