projects
/
app.Builder.js
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/TestCompiler.vala
[app.Builder.js]
/
tests
/
TestCompiler.vala
diff --git
a/tests/TestCompiler.vala
b/tests/TestCompiler.vala
index
ffa5de6
..
23ccb9d
100644
(file)
--- a/
tests/TestCompiler.vala
+++ b/
tests/TestCompiler.vala
@@
-68,9
+68,7
@@
namespace Palete {
context.thread = true;
context.thread = true;
- this.report = new ValaSourceReport(this.file);
- context.report = this.report;
-
+
context.basedir = "/tmp"; //Posix.realpath (".");
context.basedir = "/tmp"; //Posix.realpath (".");
@@
-128,7
+126,7
@@
namespace Palete {
Vala.CodeContext.pop ();
Vala.CodeContext.pop ();
- return
this.report.line_errors
;
+ return;
}
}
@@
-138,7
+136,7
@@
namespace Palete {
if (context.report.get_errors () > 0) {
Vala.CodeContext.pop ();
if (context.report.get_errors () > 0) {
Vala.CodeContext.pop ();
- return
this.report.line_errors
;
+ return ;
}
}
@@
-177,7
+175,7
@@
namespace Palete {
int main (string[] args) {
for (var i = 0;i < 1000;i++) {
int main (string[] args) {
for (var i = 0;i < 1000;i++) {
- var a = new
TestCompiler(file
);
+ var a = new
Palete.TestCompiler("/home/alan/gitlive/app.Builder.js/tests/TestCompiler.vala"
);
a.compileString();
}
return 0;
a.compileString();
}
return 0;