Changeset 852
- Timestamp:
- Oct 20, 2014, 12:16:28 PM (10 years ago)
- Location:
- branches/reconfiguration/modules/vci_cc_vcache_wrapper/caba/test
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/modules/vci_cc_vcache_wrapper/caba/test/common.mk
r850 r852 10 10 DOXYGEN := doxygen 11 11 SED := sed 12 SHELL := bash 12 13 13 14 CFLAGS := -Wall \ -
branches/reconfiguration/modules/vci_cc_vcache_wrapper/caba/test/simple_wdt_test/Makefile
r850 r852 30 30 31 31 # ============================================================================= 32 # Documentation generation33 # =============================================================================34 35 DOCCONF := doxygen.config36 DOCDIR := doc37 38 # =============================================================================39 32 # Object files 40 33 # ============================================================================= … … 48 41 49 42 TARGET := $(BUILD_DIR)/soft.elf 43 44 # ============================================================================= 45 # Test variables 46 # ============================================================================= 47 PLATFORM := ../../../../../platforms/tsar_generic_iob 48 SIMULATOR := $(PLATFORM)/simul.x 49 50 # batch mode => no xterm or frame buffer windows 51 SOCLIB_TTY := FILES 52 SOCLIB_FB := HEADLESS 53 SOCLIB_GDB ?= 54 export SOCLIB_TTY SOCLIB_FB SOCLIB_GDB 50 55 51 56 # ============================================================================= … … 62 67 $(OBJS): $(CONF) | $(BUILD_DIR) 63 68 64 doc: $(DOCCONF)65 doxygen $<66 67 69 $(LIB_TARGET): $(LIB_OBJS) 68 70 $(AR) rcs $@ $(LIB_OBJS) … … 72 74 $(DU) -D $@ > $@.txt 73 75 76 test: $(SIMULATOR) $(TARGET) 77 -$< -SOFT $(TARGET) -DISK /dev/null 2> /dev/null >> $(CONFDIR)/log 78 -soclib-cleanup-terms &> /dev/null 79 mv term0 $(CONFDIR)/term 80 grep -q "success" $(CONFDIR)/term 81 if [ $$? == 0 ]; then \ 82 echo $$(basename $(PWD)) ": Success"; \ 83 else \ 84 echo $$(basename $(PWD)) ": Failure"; \ 85 fi; 86 87 $(SIMULATOR) $(CONF): $(PLATFORM)/scripts/onerun.py 88 ./$< -o $(CONFDIR) -p $(PLATFORM) -x1 -y1 -n1 -c 89 74 90 $(BUILD_DIR): 75 91 $(MKDIR) $@ … … 78 94 $(RM) $(BUILD_DIR) 79 95 80 clean-doc:81 $(RM) $(DOCDIR)82 83 96 clean-log: 84 97 $(RM) $(CONFDIR) 85 98 86 distclean: clean clean- doc clean-log99 distclean: clean clean-log -
branches/reconfiguration/modules/vci_cc_vcache_wrapper/caba/test/simple_wdt_test/main.c
r850 r852 27 27 void main(void) 28 28 { 29 cpu_set_wdt_max( 500);29 cpu_set_wdt_max(100); 30 30 31 31 /*
Note: See TracChangeset
for help on using the changeset viewer.