Sha256: 84830f0b005161c23bb9cc47cd21927d66cecb197c7cc8785151ee4497aff61a
Contents?: true
Size: 513 Bytes
Versions: 12
Compression:
Stored size: 513 Bytes
Contents
#!/usr/bin/env ruby base_dir = File.expand_path(File.join(File.dirname(__FILE__), "..")) ext_dir = File.join(base_dir, "ext", "cairo") lib_dir = File.join(base_dir, "lib") test_dir = File.join(base_dir, "test") if system("which make >/dev/null 2>&1") Dir.chdir(base_dir) do system("make > /dev/null") or exit(1) end end require "test-unit" $LOAD_PATH.unshift(base_dir) $LOAD_PATH.unshift(ext_dir) $LOAD_PATH.unshift(lib_dir) require_relative "helper" exit Test::Unit::AutoRunner.run(true, test_dir)
Version data entries
12 entries across 12 versions & 1 rubygems