Skip to content

Commit cd20408

Browse files
committed
Update references
1 parent db70507 commit cd20408

30 files changed

+15
-360
lines changed

tests/reference/c-bindc_06-a30d20f.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "c-bindc_06-a30d20f.stdout",
9-
"stdout_hash": "e8983d6fcd2d2c6e975daae9aed736c86c8432adaed965caeef12cba",
9+
"stdout_hash": "1592d4a00bd387b8ee0a53ab5671575310052fc871b4dfca170386fd",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-bindc_06-a30d20f.stdout

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,6 @@
88
#include <string.h>
99
#include <lfortran_intrinsics.h>
1010

11-
#define ASSERT(cond) \
12-
{ \
13-
if (!(cond)) { \
14-
printf("%s%s", "ASSERT failed: ", __FILE__); \
15-
printf("%s%s", "\nfunction ", __func__); \
16-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
17-
printf("%s%s", #cond, "\n"); \
18-
exit(1); \
19-
} \
20-
}
21-
#define ASSERT_MSG(cond, msg) \
22-
{ \
23-
if (!(cond)) { \
24-
printf("%s%s", "ASSERT failed: ", __FILE__); \
25-
printf("%s%s", "\nfunction ", __func__); \
26-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
27-
printf("%s%s", #cond, "\n"); \
28-
printf("%s", "ERROR MESSAGE:\n"); \
29-
printf("%s%s", msg, "\n"); \
30-
exit(1); \
31-
} \
32-
}
33-
3411

3512
struct dimension_descriptor
3613
{

tests/reference/c-c_interop1-e215531.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "c-c_interop1-e215531.stdout",
9-
"stdout_hash": "79bf04c21b0db44755fa1828851ba74ce803ba1748da76e0144e2908",
9+
"stdout_hash": "6ff32cb0aeb8edf4f78af311a25512fc6f8f708e682ce94137f160ee",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-c_interop1-e215531.stdout

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,6 @@
66
#include <string.h>
77
#include <lfortran_intrinsics.h>
88

9-
#define ASSERT(cond) \
10-
{ \
11-
if (!(cond)) { \
12-
printf("%s%s", "ASSERT failed: ", __FILE__); \
13-
printf("%s%s", "\nfunction ", __func__); \
14-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
15-
printf("%s%s", #cond, "\n"); \
16-
exit(1); \
17-
} \
18-
}
19-
#define ASSERT_MSG(cond, msg) \
20-
{ \
21-
if (!(cond)) { \
22-
printf("%s%s", "ASSERT failed: ", __FILE__); \
23-
printf("%s%s", "\nfunction ", __func__); \
24-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
25-
printf("%s%s", #cond, "\n"); \
26-
printf("%s", "ERROR MESSAGE:\n"); \
27-
printf("%s%s", msg, "\n"); \
28-
exit(1); \
29-
} \
30-
}
31-
329

3310
struct dimension_descriptor
3411
{

tests/reference/c-expr7-bb2692a.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "c-expr7-bb2692a.stdout",
9-
"stdout_hash": "c5afb46e3538eeeff7e1b50eac49c6f2fa57468bb40d278b207ee60d",
9+
"stdout_hash": "6ec5c40f07c1fb2fbfad9c3ff031e50cf077c0ad2412c7be962d9e93",
1010
"stderr": "c-expr7-bb2692a.stderr",
1111
"stderr_hash": "6e9790ac88db1a9ead8f64a91ba8a6605de67167037908a74b77be0c",
1212
"returncode": 0

tests/reference/c-expr7-bb2692a.stdout

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,6 @@
88
#include <string.h>
99
#include <lfortran_intrinsics.h>
1010

11-
#define ASSERT(cond) \
12-
{ \
13-
if (!(cond)) { \
14-
printf("%s%s", "ASSERT failed: ", __FILE__); \
15-
printf("%s%s", "\nfunction ", __func__); \
16-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
17-
printf("%s%s", #cond, "\n"); \
18-
exit(1); \
19-
} \
20-
}
21-
#define ASSERT_MSG(cond, msg) \
22-
{ \
23-
if (!(cond)) { \
24-
printf("%s%s", "ASSERT failed: ", __FILE__); \
25-
printf("%s%s", "\nfunction ", __func__); \
26-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
27-
printf("%s%s", #cond, "\n"); \
28-
printf("%s", "ERROR MESSAGE:\n"); \
29-
printf("%s%s", msg, "\n"); \
30-
exit(1); \
31-
} \
32-
}
33-
3411

3512
struct dimension_descriptor
3613
{

tests/reference/c-expr_01-28f449f.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "c-expr_01-28f449f.stdout",
9-
"stdout_hash": "f7ff3e7ee6518de7ff6bc41aa1ab242c7dbf9fca4482e5de47209c42",
9+
"stdout_hash": "54d2c8dc7b28702c7907cd829a3777bdc4f2cf13dc597113a0074839",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-expr_01-28f449f.stdout

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,6 @@
66
#include <string.h>
77
#include <lfortran_intrinsics.h>
88

9-
#define ASSERT(cond) \
10-
{ \
11-
if (!(cond)) { \
12-
printf("%s%s", "ASSERT failed: ", __FILE__); \
13-
printf("%s%s", "\nfunction ", __func__); \
14-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
15-
printf("%s%s", #cond, "\n"); \
16-
exit(1); \
17-
} \
18-
}
19-
#define ASSERT_MSG(cond, msg) \
20-
{ \
21-
if (!(cond)) { \
22-
printf("%s%s", "ASSERT failed: ", __FILE__); \
23-
printf("%s%s", "\nfunction ", __func__); \
24-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
25-
printf("%s%s", #cond, "\n"); \
26-
printf("%s", "ERROR MESSAGE:\n"); \
27-
printf("%s%s", msg, "\n"); \
28-
exit(1); \
29-
} \
30-
}
31-
329

3310
struct dimension_descriptor
3411
{

tests/reference/c-expr_11-c452314.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "c-expr_11-c452314.stdout",
9-
"stdout_hash": "3ff86fbef1a6ada1ca91694b6cf50b08d58abb9f3d32672698655b45",
9+
"stdout_hash": "990486bcfab642985e506a1ee8ff20218e233b0d19035e8acf2d407c",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/c-expr_11-c452314.stdout

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,6 @@
66
#include <string.h>
77
#include <lfortran_intrinsics.h>
88

9-
#define ASSERT(cond) \
10-
{ \
11-
if (!(cond)) { \
12-
printf("%s%s", "ASSERT failed: ", __FILE__); \
13-
printf("%s%s", "\nfunction ", __func__); \
14-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
15-
printf("%s%s", #cond, "\n"); \
16-
exit(1); \
17-
} \
18-
}
19-
#define ASSERT_MSG(cond, msg) \
20-
{ \
21-
if (!(cond)) { \
22-
printf("%s%s", "ASSERT failed: ", __FILE__); \
23-
printf("%s%s", "\nfunction ", __func__); \
24-
printf("%s%d%s", "(), line number ", __LINE__, " at \n"); \
25-
printf("%s%s", #cond, "\n"); \
26-
printf("%s", "ERROR MESSAGE:\n"); \
27-
printf("%s%s", msg, "\n"); \
28-
exit(1); \
29-
} \
30-
}
31-
329

3310
struct dimension_descriptor
3411
{

0 commit comments

Comments
 (0)