occlum/test/env/Makefile
LI Qing 8ef52c7c2d Support environmental variables in Occlum.json
1. Now we support set App's env in Occlum.json, for example:
    "env": [
        "OCCLUM=yes",
        "TEST=true"
    ]
2. Rewrite env test cases
3. Update Dockerfile to install "jq" tool
2019-09-05 13:50:55 +00:00

15 lines
295 B
Makefile

include ../test_common.mk
ARGC := 4
ARG1 := 1
ARG2 := arg2
ARG3 := this is a string with spaces
EXTRA_C_FLAGS := \
-DEXPECT_ARGC=$(ARGC) \
-DEXPECT_ARG1="\"$(ARG1)\"" \
-DEXPECT_ARG2="\"$(ARG2)\"" \
-DEXPECT_ARG3="\"$(ARG3)\""
EXTRA_LINK_FLAGS :=
BIN_ARGS := "$(ARG1)" "$(ARG2)" "$(ARG3)"