Sha256: 8ca28fba1b007c57e71aaacb2458c0063b25da1b5db1519cbb1aefd001a3e17e

Contents?: true

Size: 694 Bytes

Versions: 2

Compression:

Stored size: 694 Bytes

Contents

#!/usr/bin/env ruby

$VERBOSE = true

ruby_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
ruby_gnome2_base = File.expand_path(ruby_gnome2_base)

glib_base = File.join(ruby_gnome2_base, "glib")
pango_base = File.join(ruby_gnome2_base, "pango")

$LOAD_PATH.unshift(glib_base)
require 'test/glib-test-init'

[glib_base, pango_base].each do |target|
  if system("which make > /dev/null")
    `make -C #{target.dump} > /dev/null` or exit(1)
  end
  $LOAD_PATH.unshift(File.join(target, "src"))
  $LOAD_PATH.unshift(File.join(target, "src", "lib"))
end

$LOAD_PATH.unshift(File.join(pango_base, "test"))
require 'pango-test-utils'

require 'pango'

exit Test::Unit::AutoRunner.run(true)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pango-0.20.1 test/run-test.rb
pango-0.20.0 test/run-test.rb