From 18d3b6bb05708b487ac9fe1ef81c6d30ad92d8c5 Mon Sep 17 00:00:00 2001 From: Лач Date: Fri, 03 Jul 2020 08:31:00 +0000 Subject: [PATCH] test: return vanilla test commands --- --- a/Makefile +++ b/Makefile @@ -1,4 +1,20 @@ .PHONY: test build build-wasi +jsonnet-cpp: + git clone https://github.com/google/jsonnet jsonnet-cpp + +.ONESHELL: +test-examples: jsonnet-cpp + export JSONNET_BIN="$(PWD)/target/release/jrsonnet" + export EXAMPLES_DIR="$(PWD)/jsonnet-cpp/examples/" + cd ./jsonnet-cpp/examples/ + ./check.sh + +.ONESHELL: +test-tests: jsonnet-cpp + export JSONNET_BIN="$(PWD)/target/release/jrsonnet --trace-format=go --thread-stack-size=96" + cd ./jsonnet-cpp/test_suite/ + ./run_tests.sh + test: cargo test build: -- gitstuff