fix TestUtils result comparison; enable tpch queries

git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization@69 eaa15691-b419-025a-1212-ee371bd00084
diff --git a/asterix-app/src/test/java/edu/uci/ics/asterix/test/aql/TestsUtils.java b/asterix-app/src/test/java/edu/uci/ics/asterix/test/aql/TestsUtils.java
index 8537496..1ae6466 100644
--- a/asterix-app/src/test/java/edu/uci/ics/asterix/test/aql/TestsUtils.java
+++ b/asterix-app/src/test/java/edu/uci/ics/asterix/test/aql/TestsUtils.java
@@ -213,7 +213,6 @@
 
             String[] fields1 = row1.split(" ");
             String[] fields2 = row2.split(" ");
-            double delta = 0.000000001;
 
             for (int j = 0; j < fields1.length; j++) {
                 if (fields1[j].equals(fields2[j])) {
@@ -225,8 +224,10 @@
                     fields2[j] = fields2[j].split(",")[0];
                     Double double1 = Double.parseDouble(fields1[j]);
                     Double double2 = Double.parseDouble(fields2[j]);
+                    float float1 = (float) double1.doubleValue();
+                    float float2 = (float) double2.doubleValue();
 
-                    if (Math.abs(double1 - double2) <= delta)
+                    if (Math.abs(float1 - float2) == 0)
                         continue;
                     else {
                         return false;
diff --git a/asterix-app/src/test/resources/runtimets/ignore.txt b/asterix-app/src/test/resources/runtimets/ignore.txt
index 9478d49..8d7069a 100644
--- a/asterix-app/src/test/resources/runtimets/ignore.txt
+++ b/asterix-app/src/test/resources/runtimets/ignore.txt
@@ -13,7 +13,4 @@
 dapd/q3.aql
 fuzzyjoin/events-users-aqlplus_1.aql
 fuzzyjoin
-failure/q1_pricing_summary_report_failure.aql
-tpch/q1
-tpch/q3
-tpch/q5
\ No newline at end of file
+failure/q1_pricing_summary_report_failure.aql
\ No newline at end of file