go-jsonnet/tests.sh
Stanisław Barzowski eea884b12f Minimal C bindings (#257)
* Minimal C bindings
* Fix version reporting in C bindings
* Apply suggestions about C bindings implementation
* Rename compat/ -> c-bindings/
* Add comment about indexing VMs in C bindings
2019-03-16 17:47:12 -04:00

21 lines
357 B
Bash
Executable File

#!/bin/bash
set -e
[ "$1" = "--skip-go-test" ] || go test ./...
c-bindings-tests/run.sh
export IMPLEMENTATION=golang
(cd jsonnet; go build)
export DISABLE_LIB_TESTS=true
export DISABLE_FMT_TESTS=true
export DISABLE_ERROR_TESTS=true
export JSONNET_BIN="$PWD/jsonnet/jsonnet"
git submodule update --recursive cpp-jsonnet
cd cpp-jsonnet
exec ./tests.sh