summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-24 22:52:11 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-24 22:52:11 -0500
commitfcd0ed0951b0abfe271a10fe3735819cc7d9f2e8 (patch)
tree31f03f2876812009e40bf5f1ec315de47f1f0fe3
parent64b4f0f9d1097c55286d1a5ebdf44146f9b58d90 (diff)
downloadhorizon-fcd0ed0951b0abfe271a10fe3735819cc7d9f2e8.tar.gz
horizon-fcd0ed0951b0abfe271a10fe3735819cc7d9f2e8.tar.bz2
horizon-fcd0ed0951b0abfe271a10fe3735819cc7d9f2e8.tar.xz
horizon-fcd0ed0951b0abfe271a10fe3735819cc7d9f2e8.zip
Fix CI since printowner is no longer built for RE
-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'