mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Make prop_test and cycle_test cwd-agnostic (#9498)
This commit is contained in:
committed by
GitHub
parent
8a3b80778a
commit
5d0af28461
@@ -2,14 +2,14 @@
|
||||
|
||||
# This test checks whether the packages create a dependency cycle.
|
||||
|
||||
# Add >LOCAL< lib to LOAD_PATH
|
||||
$LOAD_PATH.unshift '../lib'
|
||||
|
||||
require 'find'
|
||||
require_relative '../lib/const'
|
||||
require_relative '../lib/color'
|
||||
require_relative '../lib/package'
|
||||
|
||||
# Add >LOCAL< lib to LOAD_PATH so that packages can be loaded
|
||||
$LOAD_PATH.unshift File.join(CREW_LIB_PATH, 'lib')
|
||||
|
||||
@all_pkgs = {}
|
||||
|
||||
puts "Running dependency cycle tests...\n".yellow
|
||||
|
||||
Reference in New Issue
Block a user