mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
14 lines
347 B
Bash
Executable File
14 lines
347 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT License.
|
|
|
|
set -e
|
|
rego=$(realpath -e $1)
|
|
|
|
if [ ! -z "$2" ]; then
|
|
input=$(realpath -e $2)
|
|
cargo test interpreter::one_file -- --include-ignored --nocapture "$rego" "$input"
|
|
else
|
|
cargo test interpreter::one_file -- --include-ignored --nocapture "$rego"
|
|
fi
|