Sha256: b920e153614da4e761f293cc47278b9b1774a3dcedb6cdb794ac938d722b6d12

Contents?: true

Size: 708 Bytes

Versions: 40

Compression:

Stored size: 708 Bytes

Contents

#!/usr/bin/env ruby

# ENV["GST_DEBUG"] = "GST_BUFFER:5"

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

if system("which make > /dev/null")
  system("cd #{base_dir.dump} && make > /dev/null") or exit(1)
end

glib_dir = File.expand_path(File.join(base_dir, "..", "glib2"))
$LOAD_PATH.unshift(File.join(glib_dir, "test"))
require 'glib-test-init'

$LOAD_PATH.unshift(File.join(glib_dir, "ext", "glib2"))
$LOAD_PATH.unshift(File.join(glib_dir, "lib"))

$LOAD_PATH.unshift(File.join(base_dir, "ext", "gstreamer"))
$LOAD_PATH.unshift(File.join(base_dir, "lib"))
require "gst"

$LOAD_PATH.unshift(File.join(base_dir, "test"))
require 'gst-test-utils'

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

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
gstreamer-1.2.6-x86-mingw32 test/run-test.rb
gstreamer-1.2.6 test/run-test.rb
gstreamer-1.2.5-x86-mingw32 test/run-test.rb
gstreamer-1.2.5 test/run-test.rb
gstreamer-1.2.4-x86-mingw32 test/run-test.rb
gstreamer-1.2.4 test/run-test.rb
gstreamer-1.2.3-x86-mingw32 test/run-test.rb
gstreamer-1.2.3 test/run-test.rb
gstreamer-1.2.2-x86-mingw32 test/run-test.rb
gstreamer-1.2.2 test/run-test.rb
gstreamer-1.2.1-x86-mingw32 test/run-test.rb
gstreamer-1.2.1 test/run-test.rb
gstreamer-1.2.0-x86-mingw32 test/run-test.rb
gstreamer-1.2.0 test/run-test.rb
gstreamer-1.1.9-x86-mingw32 test/run-test.rb
gstreamer-1.1.9 test/run-test.rb
gstreamer-1.1.8-x86-mingw32 test/run-test.rb
gstreamer-1.1.8 test/run-test.rb
gstreamer-1.1.7 test/run-test.rb
gstreamer-1.1.7-x86-mingw32 test/run-test.rb