From 68a08bb8bf03f2baac43c4a9b8957893ab9622e4 Mon Sep 17 00:00:00 2001 From: stephey Date: Fri, 2 Apr 2010 18:48:23 +0000 Subject: [PATCH] This is Stephen's test program --- Robust/src/Tests/mlp/stephen/makefile | 29 ++++++++++++++++++++++++++ Robust/src/Tests/mlp/stephen/test.java | 18 ++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 Robust/src/Tests/mlp/stephen/makefile create mode 100644 Robust/src/Tests/mlp/stephen/test.java diff --git a/Robust/src/Tests/mlp/stephen/makefile b/Robust/src/Tests/mlp/stephen/makefile new file mode 100644 index 00000000..33802836 --- /dev/null +++ b/Robust/src/Tests/mlp/stephen/makefile @@ -0,0 +1,29 @@ +PROGRAM=test + +SOURCE_FILES=test.java + +BUILDSCRIPT=../../../buildscript + +USEMLP= -mlp 8 2 -mlpdebug # use to turn mlp on and off and make sure rest of build not broken +BSFLAGS= -32bit -nooptimize -debug -garbagestats -mainclass Test +OWNERSHIP= -ownership -ownallocdepth 1 -enable-assertions -methodeffects -flatirusermethods -ownwritedots final -ownaliasfile aliases.txt + +default: + ../../../buildscript -nojava $(USEMLP) $(BSFLAGS) $(OWNERSHIP) -o $(PROGRAM) $(SOURCE_FILES) + +single: + ../../../buildscript $(BSFLAGS) -o $(PROGRAM) $(SOURCE_FILES) + +java: + ../../../buildscript $(USEMLP) $(BSFLAGS) $(OWNERSHIP) -o $(PROGRAM) $(SOURCE_FILES) + +clean: + rm -f $(PROGRAM).bin + rm -fr tmpbuilddirectory + rm -f *~ + rm -f *.dot + rm -f *.png + rm -f *.txt + rm -f aliases.txt + rm -f mlpReport*txt + rm -f results*txt \ No newline at end of file diff --git a/Robust/src/Tests/mlp/stephen/test.java b/Robust/src/Tests/mlp/stephen/test.java new file mode 100644 index 00000000..c83ed4c0 --- /dev/null +++ b/Robust/src/Tests/mlp/stephen/test.java @@ -0,0 +1,18 @@ +public class Test { + + public Test(){} + + public static void main(String args[]) { + + System.out.println("# it starts"); + Test t = new Test(); + t.doSomeWork(); + + } + + public void doSomeWork() { + + } + +} + -- 2.34.1