File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 206206 inherit profileName workbenchStartArgs ;
207207 backendName = "supervisor" ;
208208 useCabalRun = false ;
209- cardano-node-rev =
210- if builtins . hasAttr "rev" self
211- then pkgs . gitrev
212- else throw "Cannot get git revision of 'cardano-node', unclean checkout?" ;
209+ cardano-node-rev = pkgs . gitrev ;
213210 } ) . workbench-profile-run ;
214211 in
215212 {
231228 name = "system-tests" ;
232229 runtimeInputs = with pkgs ; [ git gnused ] ;
233230 text = ''
234- NODE_REV="${ self . rev or ( throw "Sorry, need clean/pushed git revision to run system tests" ) } "
231+ NODE_REV="${ self . rev or "" } "
232+ if [[ -z $NODE_REV ]]; then
233+ echo "Sorry, need clean/pushed git revision to run system tests"
234+ exit 1;
235+ fi
235236 MAKE_TARGET=testpr
236237 mkdir -p tmp && cd tmp
237238 rm -rf cardano-node-tests
You can’t perform that action at this time.
0 commit comments