aboutsummaryrefslogtreecommitdiffstats
path: root/examples/BFtoLLVM/tests
diff options
context:
space:
mode:
Diffstat (limited to 'examples/BFtoLLVM/tests')
-rw-r--r--examples/BFtoLLVM/tests/Makefile45
-rw-r--r--examples/BFtoLLVM/tests/hello.b5
-rw-r--r--examples/BFtoLLVM/tests/hello.expected-out1
3 files changed, 0 insertions, 51 deletions
diff --git a/examples/BFtoLLVM/tests/Makefile b/examples/BFtoLLVM/tests/Makefile
deleted file mode 100644
index ff3d01a..0000000
--- a/examples/BFtoLLVM/tests/Makefile
+++ /dev/null
@@ -1,45 +0,0 @@
-##===- examples/BFtoLLVM/tests/Makefile --------------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-# Makefile for bf2llvm tests.
-
-LEVEL = ../../..
-BFTOLLVM = $(LLVMTOOLCURRENT)/BFtoLLVM
-
-include $(LEVEL)/Makefile.common
-
-all:: check
-
-clean::
- rm -rf Output
-
-.SUFFIXES: .ll .gccas.bc .llvm .cbe.c .cbe
-
-Output/%.ll: %.b $(BFTOLLVM) Output/.dir
- $(BFTOLLVM) $< $@
-
-Output/%.gccas.bc: Output/%.ll Output/.dir
- $(LGCCAS) $< -o $@
-
-Output/%.llvm Output/%.llvm.bc: Output/%.gccas.bc Output/.dir
- $(LGCCLD) $< -lc -lcrtend -o Output/$*.llvm
-
-Output/%.cbe.c: Output/%.llvm.bc Output/.dir
- $(LLC) -march=c -f -o=$@ $<
-
-Output/%.cbe: Output/%.cbe.c Output/.dir
- $(CC) -O2 $< -o $@
-
-check: Output/hello.cbe hello.expected-out
- @echo "Running test"
- Output/hello.cbe > Output/hello.out-cbe
- @echo "Checking result"
- diff Output/hello.out-cbe hello.expected-out
- @echo "Test passed"
-
diff --git a/examples/BFtoLLVM/tests/hello.b b/examples/BFtoLLVM/tests/hello.b
deleted file mode 100644
index a3d8faf..0000000
--- a/examples/BFtoLLVM/tests/hello.b
+++ /dev/null
@@ -1,5 +0,0 @@
-Hello World program
->+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]>++++++++[<++++>-]
-<.#>+++++++++++[<+++++>-]<.>++++++++[<+++>-]<.+++.------.--------.[-]>++++++++[
-<++++>-]<+.[-]++++++++++.
-
diff --git a/examples/BFtoLLVM/tests/hello.expected-out b/examples/BFtoLLVM/tests/hello.expected-out
deleted file mode 100644
index 980a0d5..0000000
--- a/examples/BFtoLLVM/tests/hello.expected-out
+++ /dev/null
@@ -1 +0,0 @@
-Hello World!