Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Test] Skip tests for dotnet, java and ml/openvino for ethreads=1 #801

Merged
merged 1 commit into from
Aug 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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