[DRE-commits] [SCM] ruby-pkg-config.git branch, master, updated. 1478d7c7c0fb15103b987ca45aa6283ead16f268
Antonio Terceiro
terceiro at softwarelivre.org
Sat Jul 2 20:33:57 UTC 2011
The following commit has been merged in the master branch:
commit 6d16d2fa7adad6d51d84f52377df29b9c51ae657
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date: Sat Jul 2 13:21:49 2011 -0700
Ignore the exact order of pkg-config output
diff --git a/test/test_pkg_config.rb b/test/test_pkg_config.rb
index 6a78747..60ac4f8 100644
--- a/test/test_pkg_config.rb
+++ b/test/test_pkg_config.rb
@@ -107,9 +107,10 @@ class PkgConfigTest < Test::Unit::TestCase
end
def assert_pkg_config(package, pkg_config_args, actual)
- result = pkg_config(package, *pkg_config_args)
+ result = pkg_config(package, *pkg_config_args).split.sort
+ sorted_actual = actual.split.sort
result = nil if result.empty?
- assert_equal(result, actual)
+ assert_equal(result, sorted_actual)
end
def assert_override_variables(expected, override_variables)
--
ruby-pkg-config.git
More information about the Pkg-ruby-extras-commits
mailing list