diff options
Diffstat (limited to 'c_compiler/test/out')
60 files changed, 2 insertions, 420 deletions
diff --git a/c_compiler/test/out/01.pretty.xml b/c_compiler/test/out/01.pretty.xml index e0545e4..8b13789 100644 --- a/c_compiler/test/out/01.pretty.xml +++ b/c_compiler/test/out/01.pretty.xml @@ -1,9 +1 @@ -<?xml version="1.0"?> -<Program> - <Variable id="a" /> - <Variable id="b" /> - <Variable id="c" /> - <Variable id="d" /> - <Variable id="e" /> - <Variable id="f" /> -</Program> + diff --git a/c_compiler/test/out/01.stderr.txt b/c_compiler/test/out/01.stderr.txt index e69de29..37006dc 100644 --- a/c_compiler/test/out/01.stderr.txt +++ b/c_compiler/test/out/01.stderr.txt @@ -0,0 +1 @@ +./test_compiler.sh: line 28: ./bin/c_compiler: No such file or directory diff --git a/c_compiler/test/out/02.diff.txt b/c_compiler/test/out/01.stdout.s index e69de29..e69de29 100644 --- a/c_compiler/test/out/02.diff.txt +++ b/c_compiler/test/out/01.stdout.s diff --git a/c_compiler/test/out/01.stdout.txt b/c_compiler/test/out/01.stdout.txt deleted file mode 100644 index bd7cd1f..0000000 --- a/c_compiler/test/out/01.stdout.txt +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Variable id="a" /> -<Variable id="b" /> -<Variable id="c" /> -<Variable id="d" /> -<Variable id="e" /> -<Variable id="f" /> -</Program> diff --git a/c_compiler/test/out/01.stdout.xml b/c_compiler/test/out/01.stdout.xml index bd7cd1f..e69de29 100644 --- a/c_compiler/test/out/01.stdout.xml +++ b/c_compiler/test/out/01.stdout.xml @@ -1,9 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Variable id="a" /> -<Variable id="b" /> -<Variable id="c" /> -<Variable id="d" /> -<Variable id="e" /> -<Variable id="f" /> -</Program> diff --git a/c_compiler/test/out/02.pretty.xml b/c_compiler/test/out/02.pretty.xml deleted file mode 100644 index 1f73bca..0000000 --- a/c_compiler/test/out/02.pretty.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="f"> - <Scope></Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/02.stderr.txt b/c_compiler/test/out/02.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/02.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/02.stdout.xml b/c_compiler/test/out/02.stdout.xml deleted file mode 100644 index bc37d7a..0000000 --- a/c_compiler/test/out/02.stdout.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="f"> -<Scope> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/03.diff.txt b/c_compiler/test/out/03.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/03.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/03.pretty.xml b/c_compiler/test/out/03.pretty.xml deleted file mode 100644 index 6ab6ab3..0000000 --- a/c_compiler/test/out/03.pretty.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="foo"> - <Parameter id="bar" /> - <Scope></Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/03.stderr.txt b/c_compiler/test/out/03.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/03.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/03.stdout.xml b/c_compiler/test/out/03.stdout.xml deleted file mode 100644 index 6ca0ab2..0000000 --- a/c_compiler/test/out/03.stdout.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="foo"> -<Parameter id="bar" /> -<Scope> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/04.diff.txt b/c_compiler/test/out/04.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/04.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/04.pretty.xml b/c_compiler/test/out/04.pretty.xml deleted file mode 100644 index caae53b..0000000 --- a/c_compiler/test/out/04.pretty.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="foo"> - <Parameter id="bar1" /> - <Parameter id="bar2" /> - <Scope> - <Variable id="x" /> - <Variable id="y" /> - <Variable id="z" /> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/04.stderr.txt b/c_compiler/test/out/04.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/04.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/04.stdout.xml b/c_compiler/test/out/04.stdout.xml deleted file mode 100644 index 9257eac..0000000 --- a/c_compiler/test/out/04.stdout.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="foo"> -<Parameter id="bar1" /> -<Parameter id="bar2" /> -<Scope> -<Variable id="x" /> -<Variable id="y" /> -<Variable id="z" /> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/05.diff.txt b/c_compiler/test/out/05.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/05.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/05.pretty.xml b/c_compiler/test/out/05.pretty.xml deleted file mode 100644 index 944d950..0000000 --- a/c_compiler/test/out/05.pretty.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="foo"> - <Parameter id="x" /> - <Parameter id="y" /> - <Scope> - <Scope></Scope> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/05.stderr.txt b/c_compiler/test/out/05.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/05.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/05.stdout.xml b/c_compiler/test/out/05.stdout.xml deleted file mode 100644 index 7381e51..0000000 --- a/c_compiler/test/out/05.stdout.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="foo"> -<Parameter id="x" /> -<Parameter id="y" /> -<Scope> -<Scope> -</Scope> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/06.diff.txt b/c_compiler/test/out/06.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/06.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/06.pretty.xml b/c_compiler/test/out/06.pretty.xml deleted file mode 100644 index 6422001..0000000 --- a/c_compiler/test/out/06.pretty.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="f"> - <Parameter id="a" /> - <Parameter id="b" /> - <Parameter id="c" /> - <Scope> - <Variable id="d" /> - <Scope> - <Variable id="e" /> - </Scope> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/06.stderr.txt b/c_compiler/test/out/06.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/06.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/06.stdout.xml b/c_compiler/test/out/06.stdout.xml deleted file mode 100644 index fbcbebd..0000000 --- a/c_compiler/test/out/06.stdout.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="f"> -<Parameter id="a" /> -<Parameter id="b" /> -<Parameter id="c" /> -<Scope> -<Variable id="d" /> -<Scope> -<Variable id="e" /> -</Scope> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/07.diff.txt b/c_compiler/test/out/07.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/07.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/07.pretty.xml b/c_compiler/test/out/07.pretty.xml deleted file mode 100644 index 11c3b77..0000000 --- a/c_compiler/test/out/07.pretty.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="foo"> - <Parameter id="a" /> - <Scope> - <Scope> - <Variable id="z" /> - </Scope> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/07.stderr.txt b/c_compiler/test/out/07.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/07.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/07.stdout.xml b/c_compiler/test/out/07.stdout.xml deleted file mode 100644 index ff0efb2..0000000 --- a/c_compiler/test/out/07.stdout.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="foo"> -<Parameter id="a" /> -<Scope> -<Scope> -<Variable id="z" /> -</Scope> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/08.diff.txt b/c_compiler/test/out/08.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/08.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/08.pretty.xml b/c_compiler/test/out/08.pretty.xml deleted file mode 100644 index 6cf0f8e..0000000 --- a/c_compiler/test/out/08.pretty.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="func"> - <Parameter id="a" /> - <Parameter id="b" /> - <Scope> - <Variable id="c" /> - <Scope> - <Variable id="d" /> - </Scope> - <Scope> - <Variable id="e" /> - </Scope> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/08.stderr.txt b/c_compiler/test/out/08.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/08.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/08.stdout.xml b/c_compiler/test/out/08.stdout.xml deleted file mode 100644 index 7929e75..0000000 --- a/c_compiler/test/out/08.stdout.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="func"> -<Parameter id="a" /> -<Parameter id="b" /> -<Scope> -<Variable id="c" /> -<Scope> -<Variable id="d" /> -</Scope> -<Scope> -<Variable id="e" /> -</Scope> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/09.diff.txt b/c_compiler/test/out/09.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/09.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/09.pretty.xml b/c_compiler/test/out/09.pretty.xml deleted file mode 100644 index 6c137df..0000000 --- a/c_compiler/test/out/09.pretty.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="x"> - <Scope></Scope> - </Function> - <Variable id="g" /> - <Function id="zz"> - <Parameter id="a" /> - <Parameter id="b" /> - <Parameter id="c" /> - <Scope> - <Scope> - <Variable id="a" /> - </Scope> - <Scope> - <Variable id="fsdfsdfs" /> - </Scope> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/09.stderr.txt b/c_compiler/test/out/09.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/09.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/09.stdout.xml b/c_compiler/test/out/09.stdout.xml deleted file mode 100644 index 7a7a770..0000000 --- a/c_compiler/test/out/09.stdout.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="x"> -<Scope> -</Scope> -</Function> -<Variable id="g" /> -<Function id="zz"> -<Parameter id="a" /> -<Parameter id="b" /> -<Parameter id="c" /> -<Scope> -<Scope> -<Variable id="a" /> -</Scope> -<Scope> -<Variable id="fsdfsdfs" /> -</Scope> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/10.diff.txt b/c_compiler/test/out/10.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/10.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/10.pretty.xml b/c_compiler/test/out/10.pretty.xml deleted file mode 100644 index 89a6292..0000000 --- a/c_compiler/test/out/10.pretty.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="f"> - <Scope></Scope> - </Function> - <Variable id="g" /> - <Function id="x"> - <Parameter id="y" /> - <Scope> - <Variable id="z" /> - <Scope> - <Variable id="r" /> - </Scope> - <Scope> - <Variable id="f" /> - </Scope> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/10.stderr.txt b/c_compiler/test/out/10.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/10.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/10.stdout.xml b/c_compiler/test/out/10.stdout.xml deleted file mode 100644 index b07997e..0000000 --- a/c_compiler/test/out/10.stdout.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="f"> -<Scope> -</Scope> -</Function> -<Variable id="g" /> -<Function id="x"> -<Parameter id="y" /> -<Scope> -<Variable id="z" /> -<Scope> -<Variable id="r" /> -</Scope> -<Scope> -<Variable id="f" /> -</Scope> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/11.diff.txt b/c_compiler/test/out/11.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/11.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/11.pretty.xml b/c_compiler/test/out/11.pretty.xml deleted file mode 100644 index b9779d7..0000000 --- a/c_compiler/test/out/11.pretty.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="f"> - <Scope> - <Variable id="x" /> - <Scope> - <Variable id="y" /> - </Scope> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/11.stderr.txt b/c_compiler/test/out/11.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/11.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/11.stdout.xml b/c_compiler/test/out/11.stdout.xml deleted file mode 100644 index 0822742..0000000 --- a/c_compiler/test/out/11.stdout.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="f"> -<Scope> -<Variable id="x" /> -<Scope> -<Variable id="y" /> -</Scope> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/12.diff.txt b/c_compiler/test/out/12.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/12.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/12.pretty.xml b/c_compiler/test/out/12.pretty.xml deleted file mode 100644 index 9f49265..0000000 --- a/c_compiler/test/out/12.pretty.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="f"> - <Parameter id="b" /> - <Parameter id="c" /> - <Scope> - <Variable id="a" /> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/12.stderr.txt b/c_compiler/test/out/12.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/12.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/12.stdout.xml b/c_compiler/test/out/12.stdout.xml deleted file mode 100644 index 471f225..0000000 --- a/c_compiler/test/out/12.stdout.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="f"> -<Parameter id="b" /> -<Parameter id="c" /> -<Scope> -<Variable id="a" /> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/13.diff.txt b/c_compiler/test/out/13.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/13.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/13.pretty.xml b/c_compiler/test/out/13.pretty.xml deleted file mode 100644 index a604ecd..0000000 --- a/c_compiler/test/out/13.pretty.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="func"> - <Parameter id="x" /> - <Parameter id="y" /> - <Scope> - <Variable id="i" /> - <Scope> - <Variable id="z" /> - </Scope> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/13.stderr.txt b/c_compiler/test/out/13.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/13.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/13.stdout.xml b/c_compiler/test/out/13.stdout.xml deleted file mode 100644 index 511d93b..0000000 --- a/c_compiler/test/out/13.stdout.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="func"> -<Parameter id="x" /> -<Parameter id="y" /> -<Scope> -<Variable id="i" /> -<Scope> -<Variable id="z" /> -</Scope> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/14.diff.txt b/c_compiler/test/out/14.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/14.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/14.pretty.xml b/c_compiler/test/out/14.pretty.xml deleted file mode 100644 index 866d44e..0000000 --- a/c_compiler/test/out/14.pretty.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="function_1"> - <Parameter id="a" /> - <Parameter id="b" /> - <Scope> - <Variable id="x" /> - <Scope> - <Variable id="c" /> - </Scope> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/14.stderr.txt b/c_compiler/test/out/14.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/14.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/14.stdout.xml b/c_compiler/test/out/14.stdout.xml deleted file mode 100644 index 1b412d3..0000000 --- a/c_compiler/test/out/14.stdout.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="function_1"> -<Parameter id="a" /> -<Parameter id="b" /> -<Scope> -<Variable id="x" /> -<Scope> -<Variable id="c" /> -</Scope> -</Scope> -</Function> -</Program> diff --git a/c_compiler/test/out/15.diff.txt b/c_compiler/test/out/15.diff.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/15.diff.txt +++ /dev/null diff --git a/c_compiler/test/out/15.pretty.xml b/c_compiler/test/out/15.pretty.xml deleted file mode 100644 index b06dde0..0000000 --- a/c_compiler/test/out/15.pretty.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0"?> -<Program> - <Function id="add"> - <Parameter id="a" /> - <Parameter id="b" /> - <Scope> - <Variable id="c" /> - </Scope> - </Function> - <Function id="sub"> - <Parameter id="a" /> - <Parameter id="b" /> - <Scope> - <Variable id="c" /> - </Scope> - </Function> - <Function id="mult_by_5"> - <Parameter id="a" /> - <Scope> - <Variable id="b" /> - </Scope> - </Function> - <Function id="add_5"> - <Parameter id="a" /> - <Scope> - <Variable id="i" /> - <Scope> - <Variable id="b" /> - </Scope> - </Scope> - </Function> -</Program> diff --git a/c_compiler/test/out/15.stderr.txt b/c_compiler/test/out/15.stderr.txt deleted file mode 100644 index e69de29..0000000 --- a/c_compiler/test/out/15.stderr.txt +++ /dev/null diff --git a/c_compiler/test/out/15.stdout.xml b/c_compiler/test/out/15.stdout.xml deleted file mode 100644 index d4c29b2..0000000 --- a/c_compiler/test/out/15.stdout.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0"?> -<Program> -<Function id="add"> -<Parameter id="a" /> -<Parameter id="b" /> -<Scope> -<Variable id="c" /> -</Scope> -</Function> -<Function id="sub"> -<Parameter id="a" /> -<Parameter id="b" /> -<Scope> -<Variable id="c" /> -</Scope> -</Function> -<Function id="mult_by_5"> -<Parameter id="a" /> -<Scope> -<Variable id="b" /> -</Scope> -</Function> -<Function id="add_5"> -<Parameter id="a" /> -<Scope> -<Variable id="i" /> -<Scope> -<Variable id="b" /> -</Scope> -</Scope> -</Function> -</Program> |