Skip to content

Commit

Permalink
testsuite/cadet0: use hard-coded binary instead of building
Browse files Browse the repository at this point in the history
The build chain doesn't work anymore.

Signed-off-by: Vitaly Chipounov <[email protected]>
  • Loading branch information
vitalych committed Dec 7, 2024
1 parent b7ddb39 commit 2d1efb1
Show file tree
Hide file tree
Showing 13 changed files with 3 additions and 613 deletions.
Binary file added testsuite/pov-cgc-cadet0/CADET_00001
Binary file not shown.
7 changes: 0 additions & 7 deletions testsuite/pov-cgc-cadet0/CADET_00001/Makefile

This file was deleted.

25 changes: 0 additions & 25 deletions testsuite/pov-cgc-cadet0/CADET_00001/README.md

This file was deleted.

346 changes: 0 additions & 346 deletions testsuite/pov-cgc-cadet0/CADET_00001/cgc-cb.mk

This file was deleted.

61 changes: 0 additions & 61 deletions testsuite/pov-cgc-cadet0/CADET_00001/lib/libc.c

This file was deleted.

5 changes: 0 additions & 5 deletions testsuite/pov-cgc-cadet0/CADET_00001/lib/libc.h

This file was deleted.

This file was deleted.

41 changes: 0 additions & 41 deletions testsuite/pov-cgc-cadet0/CADET_00001/poller/for-testing/machine.py

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions testsuite/pov-cgc-cadet0/CADET_00001/pov/POV_00000.xml

This file was deleted.

73 changes: 0 additions & 73 deletions testsuite/pov-cgc-cadet0/CADET_00001/src/service.c

This file was deleted.

10 changes: 2 additions & 8 deletions testsuite/pov-cgc-cadet0/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,12 @@
# SOFTWARE.

CB=CADET_00001
SOURCE=main.c

BUILD_SCRIPTS_SRC:=$(dir $(realpath $(lastword $(MAKEFILE_LIST))))

RUN_DOCKER = docker run --rm -w $(BUILD_SCRIPTS_SRC) -e NO_CB_EXTENDED_APP=1 -v $(BUILD_SCRIPTS_SRC):$(BUILD_SCRIPTS_SRC) linux-build-i386 /run_as.sh $(shell id -u) $(shell id -g) make -C CADET_00001 $(1)

$(CB)/bin/$(CB): $(CB)/src/service.c
cd $(BUILD_SCRIPTS_SRC) && $(call RUN_DOCKER,build)

TARGETS=$(CB)/bin/$(CB)
TARGETS=$(CB)

all: $(TARGETS)

# Nothing to clean.
clean:
$(call RUN_DOCKER,clean)
2 changes: 1 addition & 1 deletion testsuite/pov-cgc-cadet0/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
test:
description: "Checks that the CADET_00001 sample produces POVs"
targets:
- CADET_00001/bin/CADET_00001
- CADET_00001
scripts:
run_tests: run-tests.tpl

0 comments on commit 2d1efb1

Please sign in to comment.