mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
Authored by anakrish and mingweishih Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
14 lines
348 B
Bash
Executable File
14 lines
348 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) Rego-Rs Authors.
|
|
# Licensed under the Apache 2.0 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
|