summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--tests/spec/owner_spec.rb1
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3953d37..a6de797 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,7 +21,7 @@ test:
stage: test
script:
- cd tests
- - PATH=../build/tools/hscript-validate:../build/tools/hscript-simulate:../build/owner:$PATH rspec --format RspecJunitFormatter --out rspec.xml
+ - PATH=$(pwd)/../build/tools/hscript-validate:$(pwd)/../build/tools/hscript-simulate:$PATH rspec --format RspecJunitFormatter --out rspec.xml
artifacts:
paths:
- build
diff --git a/tests/spec/owner_spec.rb b/tests/spec/owner_spec.rb
index 32719ec..f8b375f 100644
--- a/tests/spec/owner_spec.rb
+++ b/tests/spec/owner_spec.rb
@@ -1,6 +1,7 @@
require 'spec_helper'
RSpec.describe 'HorizonScript Owner Print Utility', :type => :aruba do
+ before { if !system("command -v hscript-printowner") then skip("Utility not built") end }
context "argument passing" do
it "requires an path to be specified" do
run_command 'hscript-printowner'