title: Bazel: set runtime environment variable and configuration file location for cc_binary/cc_test
body: <p>I am trying to use odbc++ in a C++ application on linux. The following build file is used to include the library as an external dependency</p>
  
  <pre><code>licenses(["notice"])
  cc_library(
      name = "lib",
      srcs=["lib/libodbc.so","lib64/libodbc++-mt.so"],
      hdrs=glob(["include/**/*.h","include/*.h"]),
      includes = ["include"],
      visibility = ["//visibility:public"],
      linkstatic = 1,
      data = [ "odbc.ini", "odbcinst.ini" ]
  )
  </code></pre>
  
  <p>My bash profile has ODBCINI and OBCDINST set so running the binary directly from command line is fine. However, the environment variable ODBCINI and ODBCINST are not set when running bazel test.</p>
  
  <p>Is there anyway to include the configuration files and set the run time environment variables to them?</p>
  
  <p>Thanks</p>