aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-05-09 21:02:32 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2025-05-09 21:02:32 +0200
commitd60c210bdadff5d8f5b9dc73a701560d54f69fff (patch)
tree8a2e14281ee91d0f841eef18cc178c9a65b05732
parent5bb2b50a3f92c727ddf468df16bbc60a173d3115 (diff)
downloadnissy-core-d60c210bdadff5d8f5b9dc73a701560d54f69fff.tar.gz
nissy-core-d60c210bdadff5d8f5b9dc73a701560d54f69fff.zip
Fixes
Diffstat (limited to '')
-rwxr-xr-xbuild2
-rw-r--r--test/100_gendata_cocsep/gendata_cocsep_tests.c2
-rw-r--r--test/105_gendata_eoesep/gendata_eoesep_tests.c4
-rw-r--r--test/120_gendata_eo/gendata_eo_tests.c4
-rw-r--r--test/121_coorddata_dr/coorddata_dr.c2
-rw-r--r--test/122_coorddata_dreo/coorddata_dreo.c2
6 files changed, 8 insertions, 8 deletions
diff --git a/build b/build
index 25fb912..2348cc8 100755
--- a/build
+++ b/build
@@ -119,7 +119,7 @@ parsesanitize() {
119# Set variables to default values if unset 119# Set variables to default values if unset
120CC=${CC:-"cc"} 120CC=${CC:-"cc"}
121EMCC=${EMCC:-"emcc"} 121EMCC=${EMCC:-"emcc"}
122NODE=${NODE:-"emcc"} 122NODE=${NODE:-"node"}
123THREADS=${THREADS:-"$(detectthreads)"} 123THREADS=${THREADS:-"$(detectthreads)"}
124ARCH=${ARCH:-"$(detectarch)"} 124ARCH=${ARCH:-"$(detectarch)"}
125OPTIMIZE=${OPTIMIZE:-"-O3"} 125OPTIMIZE=${OPTIMIZE:-"-O3"}
diff --git a/test/100_gendata_cocsep/gendata_cocsep_tests.c b/test/100_gendata_cocsep/gendata_cocsep_tests.c
index 46b9443..c1eef77 100644
--- a/test/100_gendata_cocsep/gendata_cocsep_tests.c
+++ b/test/100_gendata_cocsep/gendata_cocsep_tests.c
@@ -3,7 +3,7 @@
3#define BUF_SIZE 2000000 3#define BUF_SIZE 2000000
4 4
5size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *); 5size_t gendata_cocsep(unsigned char *, uint64_t *, cube_t *);
6bool readtableinfo(uint64_t, const unsigned char *, tableinfo_t *); 6int64_t readtableinfo(size_t, const unsigned char *, tableinfo_t *);
7 7
8void run(void) { 8void run(void) {
9 unsigned char buf[BUF_SIZE]; 9 unsigned char buf[BUF_SIZE];
diff --git a/test/105_gendata_eoesep/gendata_eoesep_tests.c b/test/105_gendata_eoesep/gendata_eoesep_tests.c
index 0c22d7f..7ed9778 100644
--- a/test/105_gendata_eoesep/gendata_eoesep_tests.c
+++ b/test/105_gendata_eoesep/gendata_eoesep_tests.c
@@ -26,7 +26,7 @@ The test does not generate the full table. For reference, these are the values:
26unsigned char buf[FULLSIZE]; 26unsigned char buf[FULLSIZE];
27 27
28size_t gendata_eoesep(unsigned char [static FULLSIZE], uint8_t); 28size_t gendata_eoesep(unsigned char [static FULLSIZE], uint8_t);
29bool readtableinfo(uint64_t, const unsigned char *, tableinfo_t *); 29int64_t readtableinfo(size_t, const unsigned char *, tableinfo_t *);
30 30
31void run(void) { 31void run(void) {
32 uint32_t i; 32 uint32_t i;
@@ -40,7 +40,7 @@ void run(void) {
40 } 40 }
41 41
42 printf("%zu\n", result); 42 printf("%zu\n", result);
43 printf("Classes (ESEP only): %zu\n", info.classes); 43 printf("Classes (ESEP only): %" PRIu64 "\n", info.classes);
44 for (i = 0; i <= DEPTH; i++) 44 for (i = 0; i <= DEPTH; i++)
45 printf("%" PRIu32 ": %" PRIu64 "\n", i, info.distribution[i]); 45 printf("%" PRIu32 ": %" PRIu64 "\n", i, info.distribution[i]);
46} 46}
diff --git a/test/120_gendata_eo/gendata_eo_tests.c b/test/120_gendata_eo/gendata_eo_tests.c
index 08c495e..ec1fd64 100644
--- a/test/120_gendata_eo/gendata_eo_tests.c
+++ b/test/120_gendata_eo/gendata_eo_tests.c
@@ -17,8 +17,8 @@ Pruning table values (from nissy):
17 17
18unsigned char buf[FULLSIZE]; 18unsigned char buf[FULLSIZE];
19 19
20size_t gendata_coord_dispatch(const char *, unsigned char *); 20int64_t gendata_coord_dispatch(const char *, unsigned char *);
21bool readtableinfo(uint64_t, const unsigned char *, tableinfo_t *); 21int64_t readtableinfo(size_t, const unsigned char *, tableinfo_t *);
22 22
23void run(void) { 23void run(void) {
24 uint32_t i; 24 uint32_t i;
diff --git a/test/121_coorddata_dr/coorddata_dr.c b/test/121_coorddata_dr/coorddata_dr.c
index e8407c8..d8ac94a 100644
--- a/test/121_coorddata_dr/coorddata_dr.c
+++ b/test/121_coorddata_dr/coorddata_dr.c
@@ -7,7 +7,7 @@
7cube_t transform(cube_t, uint8_t); 7cube_t transform(cube_t, uint8_t);
8uint64_t coordinate_dr_coord(cube_t, const unsigned char *); 8uint64_t coordinate_dr_coord(cube_t, const unsigned char *);
9cube_t coordinate_dr_cube(uint64_t, const unsigned char *); 9cube_t coordinate_dr_cube(uint64_t, const unsigned char *);
10uint64_t coordinate_dr_gendata(unsigned char *); 10size_t coordinate_dr_gendata(unsigned char *);
11 11
12void run(void) { 12void run(void) {
13 bool found; 13 bool found;
diff --git a/test/122_coorddata_dreo/coorddata_dreo.c b/test/122_coorddata_dreo/coorddata_dreo.c
index 942e837..2b99b7f 100644
--- a/test/122_coorddata_dreo/coorddata_dreo.c
+++ b/test/122_coorddata_dreo/coorddata_dreo.c
@@ -7,7 +7,7 @@
7cube_t transform(cube_t, uint8_t); 7cube_t transform(cube_t, uint8_t);
8uint64_t coordinate_dreo_coord(cube_t, const unsigned char *); 8uint64_t coordinate_dreo_coord(cube_t, const unsigned char *);
9cube_t coordinate_dreo_cube(uint64_t, const unsigned char *); 9cube_t coordinate_dreo_cube(uint64_t, const unsigned char *);
10uint64_t coordinate_dreo_gendata(unsigned char *); 10size_t coordinate_dreo_gendata(unsigned char *);
11 11
12void run(void) { 12void run(void) {
13 bool found; 13 bool found;

Generated with cgit - Back to sebastiano.tronto.net