Turning on unit tests build and run during precommit.

This commit is contained in:
Ruben Ayrapetyan
2015-02-16 19:18:30 +03:00
parent d50cff78ac
commit 03c81e96e9
10 changed files with 101 additions and 101 deletions
+14 -14
View File
@@ -13,12 +13,12 @@
* limitations under the License.
*/
#include <math.h>
#include <string.h>
#include "ecma-globals.h"
#include "ecma-helpers.h"
#include "jrt.h"
#include "jerry-libc.h"
#include <math.h>
/**
* Unit test's main function.
@@ -44,17 +44,17 @@ main( int __attr_unused___ argc,
const ecma_number_t nums[] =
{
1.0,
0.5,
12345.0,
12345.123,
1.0e-45,
-2.5e+38,
NAN,
INFINITY,
-INFINITY,
+0.0,
-0.0
(ecma_number_t) 1.0,
(ecma_number_t) 0.5,
(ecma_number_t) 12345.0,
(ecma_number_t) 12345.123,
(ecma_number_t) 1.0e-45,
(ecma_number_t) -2.5e+38,
(ecma_number_t) NAN,
(ecma_number_t) INFINITY,
(ecma_number_t) -INFINITY,
(ecma_number_t) +0.0,
(ecma_number_t) -0.0
};
for (uint32_t i = 0;