-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[guest-test] New Test: add tdx guest mem ebizzy func testcase
add new testcase based on tdx_ebizzy_test_suite [Test Components] tdx [Test Types] func [Supported Devices] spr,emr,gnr,srf Signed-off-by: Hongyu Ning <[email protected]>
- Loading branch information
Showing
7 changed files
with
649 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ebizzy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# MakeFile function :: MakeFile for tdx_ebizzy_test_suite | ||
|
||
CC := gcc | ||
|
||
VAR_CFLAGS := $(shell pkg-config --cflags libtracefs 2>/dev/null) | ||
VAR_LDLIBS := $(shell pkg-config --libs libtracefs 2>/dev/null) | ||
|
||
CFLAGS += -static -Wall -Wextra -g -O2 $(VAR_CFLAGS) | ||
LDFLAGS += -lpthread $(VAR_LDLIBS) | ||
INCLUDES = -I include | ||
|
||
#List of source files- Update this on adding a new C file | ||
SOURCES := \ | ||
ebizzy.c \ | ||
|
||
MAKE_TARGETS := ebizzy | ||
|
||
tdx_guest_test: | ||
$(CC) $(CFLAGS) $(LDFLAGS) -o ${MAKE_TARGETS} ${INCLUDES} ${SOURCES} | ||
|
||
clean: | ||
rm -rf ${MAKE_TARGETS} |
Oops, something went wrong.