Skip to content

Commit

Permalink
Skip tests for dotnet, java and ml/openvino for ethreads=1 (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
hukoyu authored Aug 19, 2020
1 parent 7716e93 commit 796b346
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/languages/dotnet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ $(DISK_IMAGE):

run: run-hw

ifeq ($(SGXLKL_ETHREADS),1)
skip-run-hw:
@echo "true"

skip-run-sw:
@echo "true"
endif

run-hw: $(DISK_IMAGE)
${SGXLKL_ENV} ${SGXLKL_STARTER} --hw-debug $(DISK_IMAGE) $(ENCLAVE_CMD)

Expand Down
8 changes: 8 additions & 0 deletions tests/languages/java/hello_world/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ $(DISK_IMAGE): $(PROG_SRC)

run: run-hw run-sw

ifeq ($(SGXLKL_ETHREADS),1)
skip-run-hw:
@echo "true"

skip-run-sw:
@echo "true"
endif

run-hw: $(DISK_IMAGE)
@echo "sgx-lkl-java --hw-debug ${DISK_IMAGE} HelloWorld"
@${SGXLKL_ENV} ${SGXLKL_JAVA_RUN} --hw-debug ${DISK_IMAGE} HelloWorld
Expand Down
8 changes: 8 additions & 0 deletions tests/languages/java/read_file/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ $(DISK_IMAGE): $(MAINAPP_JAVA) $(FILEREADER_JAVA)

run: run-hw run-sw

ifeq ($(SGXLKL_ETHREADS),1)
skip-run-hw:
@echo "true"

skip-run-sw:
@echo "true"
endif

run-hw: $(DISK_IMAGE)
@echo "sgx-lkl-java --hw-debug ${DISK_IMAGE} ${PROG}"
@${SGXLKL_ENV} ${SGXLKL_JAVA_RUN} --hw-debug ${DISK_IMAGE} ${PROG}
Expand Down
8 changes: 8 additions & 0 deletions tests/languages/java/thread/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ $(DISK_IMAGE): app/SharedData.java app/SimpleThread.java app/MainApp.java

run: run-hw run-sw

ifeq ($(SGXLKL_ETHREADS),1)
skip-run-hw:
@echo "true"

skip-run-sw:
@echo "true"
endif

run-hw: $(DISK_IMAGE)
@echo "sgx-lkl-java --hw-debug ${DISK_IMAGE} ${PROG}"
@${SGXLKL_ENV} ${SGXLKL_JAVA_RUN} --hw-debug ${DISK_IMAGE} ${PROG}
Expand Down
8 changes: 8 additions & 0 deletions tests/ml/openvino/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ $(DISK_IMAGE): Dockerfile

run: run-hw

ifeq ($(SGXLKL_ETHREADS),1)
skip-run-hw:
@echo "true"

skip-run-sw:
@echo "true"
endif

run-hw: $(DISK_IMAGE)
${SGXLKL_ENV} ${SGXLKL_STARTER} --hw-debug $(DISK_IMAGE) $(ENCLAVE_CMD)

Expand Down

0 comments on commit 796b346

Please sign in to comment.