mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
773132481a
Given that we’re killing that in 2.0 it doesn’t make sense to keep this. I’ll create an issue on the assembly repo to add corresponding tests for the Sandbox tests. changelog_begin changelog_end
28 lines
1.1 KiB
Bash
Executable File
28 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# --- begin runfiles.bash initialization v2 ---
|
|
# Copy-pasted from the Bazel Bash runfiles library v2.
|
|
set -uo pipefail; f=bazel_tools/tools/bash/runfiles/runfiles.bash
|
|
source "${RUNFILES_DIR:-/dev/null}/$f" 2>/dev/null || \
|
|
source "$(grep -sm1 "^$f " "${RUNFILES_MANIFEST_FILE:-/dev/null}" | cut -f2- -d' ')" 2>/dev/null || \
|
|
source "$0.runfiles/$f" 2>/dev/null || \
|
|
source "$(grep -sm1 "^$f " "$0.runfiles_manifest" | cut -f2- -d' ')" 2>/dev/null || \
|
|
source "$(grep -sm1 "^$f " "$0.exe.runfiles_manifest" | cut -f2- -d' ')" 2>/dev/null || \
|
|
{ echo>&2 "ERROR: cannot find $f"; exit 1; }; f=; set -e
|
|
# --- end runfiles.bash initialization v2 ---
|
|
|
|
set -eou pipefail
|
|
|
|
JAVA=$(rlocation "$TEST_WORKSPACE/$1")
|
|
SDK_CE=$(rlocation "$TEST_WORKSPACE/$2")
|
|
SDK_EE=$(rlocation "$TEST_WORKSPACE/$3")
|
|
|
|
if ! ($JAVA -jar $SDK_EE trigger-service --help | grep -q oracle); then
|
|
exit 1
|
|
fi
|
|
if $JAVA -jar $SDK_CE trigger-service --help | grep -q oracle; then
|
|
exit 1
|
|
fi
|