bazelbuild / rules_scala

Scala rules for Bazel
Apache License 2.0
363 stars 275 forks source link

test: Location expand environment variables #1572

Open hovind opened 5 months ago

hovind commented 5 months ago

Description

Perform location expansion on testing environment.

Motivation

I want to provide paths to the scala_test via the environment. https://github.com/ucb-bar/chiseltest requires VERILATOR_ROOT to be present in the environment. I want to use the @verilator//:verilator_executable provided by https://github.com/hdl/bazel_rules_hdl.

I removed some ifs and elses whose necessity I did not quite understand, please advice if I have broken something.

google-cla[bot] commented 5 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.