From 75734ba07404bb5af055b17d4aefb1405561c7ea Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Fri, 9 Oct 2015 20:22:02 +0200 Subject: [PATCH] rename directors examples to tests --- hermit/.gitignore | 12 ++++++------ hermit/tools/Makefile | 4 ++-- hermit/usr/Makefile | 8 ++++---- hermit/usr/{examples => tests}/Makefile | 0 hermit/usr/{examples => tests}/hello++.cpp | 0 hermit/usr/{examples => tests}/hello.c | 0 hermit/usr/{examples => tests}/hellof.f90 | 0 hermit/usr/{examples => tests}/jacobi.c | 0 hermit/usr/{examples => tests}/stream.c | 0 hermit/usr/{examples => tests}/thr_hello.c | 0 10 files changed, 12 insertions(+), 12 deletions(-) rename hermit/usr/{examples => tests}/Makefile (100%) rename hermit/usr/{examples => tests}/hello++.cpp (100%) rename hermit/usr/{examples => tests}/hello.c (100%) rename hermit/usr/{examples => tests}/hellof.f90 (100%) rename hermit/usr/{examples => tests}/jacobi.c (100%) rename hermit/usr/{examples => tests}/stream.c (100%) rename hermit/usr/{examples => tests}/thr_hello.c (100%) diff --git a/hermit/.gitignore b/hermit/.gitignore index 51b1485f0..c61ab9e32 100644 --- a/hermit/.gitignore +++ b/hermit/.gitignore @@ -14,11 +14,11 @@ include/hermit/config.inc tools/*.img tools/*_proxy tools/make_initrd -usr/examples/hello -usr/examples/hello++ -usr/examples/hellof -usr/examples/jacobi -usr/examples/stream -usr/examples/thr_hello +usr/tests/hello +usr/tests/hello++ +usr/tests/hellof +usr/tests/jacobi +usr/tests/stream +usr/tests/thr_hello usr/x86/ usr/tmp/ diff --git a/hermit/tools/Makefile b/hermit/tools/Makefile index 37d46f8ab..61668e319 100644 --- a/hermit/tools/Makefile +++ b/hermit/tools/Makefile @@ -5,8 +5,8 @@ CC = gcc CFLAGS = -O2 -Wall HEXDUMP = hexdump LDFLGAS = -INITRDFILES = ../usr/examples/hello #$(shell find ../usr/examples -perm -u+r+x -type f) -PROXYFILES = $(shell find ../usr/examples -perm -u+r+x -type f) +INITRDFILES = ../usr/tests/hello #$(shell find ../usr/tests -perm -u+r+x -type f) +PROXYFILES = $(shell find ../usr/tests -perm -u+r+x -type f) # Prettify output V = 0 diff --git a/hermit/usr/Makefile b/hermit/usr/Makefile index 77a49c62c..94051ecc0 100644 --- a/hermit/usr/Makefile +++ b/hermit/usr/Makefile @@ -22,8 +22,8 @@ default: demo: @echo Build demo applications - $Q$(MAKE) CC_FOR_TARGET=$(CC_FOR_TARGET) CXX_FOR_TARGET=$(CXX_FOR_TARGET) CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" LDFLAGS_FOR_TARGET="$(LDFLAGS_FOR_TARGET)" OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET) -C examples depend - $Q$(MAKE) CC_FOR_TARGET=$(CC_FOR_TARGET) CXX_FOR_TARGET=$(CXX_FOR_TARGET) CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" LDFLAGS_FOR_TARGET="$(LDFLAGS_FOR_TARGET)" OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET) -C examples + $Q$(MAKE) CC_FOR_TARGET=$(CC_FOR_TARGET) CXX_FOR_TARGET=$(CXX_FOR_TARGET) CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" LDFLAGS_FOR_TARGET="$(LDFLAGS_FOR_TARGET)" OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET) -C tests depend + $Q$(MAKE) CC_FOR_TARGET=$(CC_FOR_TARGET) CXX_FOR_TARGET=$(CXX_FOR_TARGET) CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" LDFLAGS_FOR_TARGET="$(LDFLAGS_FOR_TARGET)" OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET) -C tests $(ARCH): $Q$(MKDIR) $(TMP) @@ -64,12 +64,12 @@ $(TMP)/gcc: clean: @echo Cleaning toolchain - $Q$(MAKE) -C examples clean + $Q$(MAKE) -C tests clean veryclean: @echo Propper cleaning of the toolchain $Q$(MAKE) -C pte veryclean $Q$(MAKE) -C libgomp veryclean - $Q$(MAKE) -C examples veryclean + $Q$(MAKE) -C tests veryclean $Q$(RM) $(TOPDIR)/$(ARCH) $Q$(RM) $(TMP) diff --git a/hermit/usr/examples/Makefile b/hermit/usr/tests/Makefile similarity index 100% rename from hermit/usr/examples/Makefile rename to hermit/usr/tests/Makefile diff --git a/hermit/usr/examples/hello++.cpp b/hermit/usr/tests/hello++.cpp similarity index 100% rename from hermit/usr/examples/hello++.cpp rename to hermit/usr/tests/hello++.cpp diff --git a/hermit/usr/examples/hello.c b/hermit/usr/tests/hello.c similarity index 100% rename from hermit/usr/examples/hello.c rename to hermit/usr/tests/hello.c diff --git a/hermit/usr/examples/hellof.f90 b/hermit/usr/tests/hellof.f90 similarity index 100% rename from hermit/usr/examples/hellof.f90 rename to hermit/usr/tests/hellof.f90 diff --git a/hermit/usr/examples/jacobi.c b/hermit/usr/tests/jacobi.c similarity index 100% rename from hermit/usr/examples/jacobi.c rename to hermit/usr/tests/jacobi.c diff --git a/hermit/usr/examples/stream.c b/hermit/usr/tests/stream.c similarity index 100% rename from hermit/usr/examples/stream.c rename to hermit/usr/tests/stream.c diff --git a/hermit/usr/examples/thr_hello.c b/hermit/usr/tests/thr_hello.c similarity index 100% rename from hermit/usr/examples/thr_hello.c rename to hermit/usr/tests/thr_hello.c