fortran-lang / stdlib

Fortran Standard Library
https://stdlib.fortran-lang.org
MIT License
1.07k stars 166 forks source link

Tests on PPC: 3 tests failed out of 282 (hash functions and some complex) #694

Open barracuda156 opened 1 year ago

barracuda156 commented 1 year ago

Description

--->  Testing fortran-stdlib
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build" && ctest test 
Test project /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build
        Start   1: always_skip
  1/282 Test   #1: always_skip ............................***Skipped   0.01 sec
        Start   2: always_fail
  2/282 Test   #2: always_fail ............................   Passed    0.01 sec
        Start   3: test-drive/all-tests
  3/282 Test   #3: test-drive/all-tests ...................   Passed    0.01 sec
        Start   4: test-drive/check
  4/282 Test   #4: test-drive/check .......................   Passed    0.01 sec
        Start   5: test-drive/select
  5/282 Test   #5: test-drive/select ......................   Passed    0.01 sec
        Start   6: logicalloc
  6/282 Test   #6: logicalloc .............................   Passed    0.42 sec
        Start   7: ascii
  7/282 Test   #7: ascii ..................................   Passed    0.01 sec
        Start   8: stdlib_bitset_64
  8/282 Test   #8: stdlib_bitset_64 .......................   Passed    0.01 sec
        Start   9: stdlib_bitset_large
  9/282 Test   #9: stdlib_bitset_large ....................   Passed    0.01 sec
        Start  10: hash_functions
 10/282 Test  #10: hash_functions .........................***Failed    0.07 sec
        Start  11: 32_bit_hash_performance
 11/282 Test  #11: 32_bit_hash_performance ................   Passed    0.03 sec
        Start  12: 64_bit_hash_performance
 12/282 Test  #12: 64_bit_hash_performance ................   Passed    0.55 sec
        Start  13: chaining_maps
 13/282 Test  #13: chaining_maps ..........................   Passed    3.12 sec
        Start  14: open_maps
 14/282 Test  #14: open_maps ..............................   Passed    2.77 sec
        Start  15: maps
 15/282 Test  #15: maps ...................................   Passed    7.12 sec
        Start  16: loadtxt
 16/282 Test  #16: loadtxt ................................   Passed    0.25 sec
        Start  17: savetxt
 17/282 Test  #17: savetxt ................................   Passed    0.01 sec
        Start  18: loadtxt_qp
 18/282 Test  #18: loadtxt_qp .............................   Passed    0.01 sec
        Start  19: savetxt_qp
 19/282 Test  #19: savetxt_qp .............................   Passed    0.01 sec
        Start  20: getline
 20/282 Test  #20: getline ................................   Passed    0.01 sec
        Start  21: npy
 21/282 Test  #21: npy ....................................   Passed    0.04 sec
        Start  22: open
 22/282 Test  #22: open ...................................   Passed    0.01 sec
        Start  23: parse_mode
 23/282 Test  #23: parse_mode .............................   Passed    0.01 sec
        Start  24: linalg
 24/282 Test  #24: linalg .................................   Passed    0.01 sec
        Start  25: linalg_matrix_property_checks
 25/282 Test  #25: linalg_matrix_property_checks ..........   Passed    0.01 sec
        Start  26: stdlib_logger
 26/282 Test  #26: stdlib_logger ..........................   Passed    0.02 sec
        Start  27: optval
 27/282 Test  #27: optval .................................   Passed    0.01 sec
        Start  28: selection
 28/282 Test  #28: selection ..............................   Passed    0.03 sec
        Start  29: sorting
 29/282 Test  #29: sorting ................................   Passed    1.62 sec
        Start  30: specialfunctions_gamma
 30/282 Test  #30: specialfunctions_gamma .................***Failed    0.03 sec
        Start  31: corr
 31/282 Test  #31: corr ...................................   Passed    0.01 sec
        Start  32: cov
 32/282 Test  #32: cov ....................................   Passed    0.01 sec
        Start  33: mean
 33/282 Test  #33: mean ...................................   Passed    0.01 sec
        Start  34: median
 34/282 Test  #34: median .................................   Passed    0.01 sec
        Start  35: moment
 35/282 Test  #35: moment .................................   Passed    0.01 sec
        Start  36: rawmoment
 36/282 Test  #36: rawmoment ..............................   Passed    0.01 sec
        Start  37: var
 37/282 Test  #37: var ....................................   Passed    0.01 sec
        Start  38: varn
 38/282 Test  #38: varn ...................................   Passed    0.01 sec
        Start  39: random
 39/282 Test  #39: random .................................   Passed    0.01 sec
        Start  40: distribution_uniform
 40/282 Test  #40: distribution_uniform ...................   Passed    0.69 sec
        Start  41: distribution_normal
 41/282 Test  #41: distribution_normal ....................   Passed    2.78 sec
        Start  42: distribution_exponential
 42/282 Test  #42: distribution_exponential ...............   Passed    1.45 sec
        Start  43: string_assignment
 43/282 Test  #43: string_assignment ......................   Passed    0.03 sec
        Start  44: string_operator
 44/282 Test  #44: string_operator ........................   Passed    0.01 sec
        Start  45: string_intrinsic
 45/282 Test  #45: string_intrinsic .......................   Passed    0.01 sec
        Start  46: string_match
 46/282 Test  #46: string_match ...........................   Passed    0.01 sec
        Start  47: string_derivedtype_io
 47/282 Test  #47: string_derivedtype_io ..................   Passed    0.01 sec
        Start  48: string_functions
 48/282 Test  #48: string_functions .......................   Passed    1.38 sec
        Start  49: string_strip_chomp
 49/282 Test  #49: string_strip_chomp .....................   Passed    0.01 sec
        Start  50: string_to_string
 50/282 Test  #50: string_to_string .......................   Passed    0.01 sec
        Start  51: sleep
 51/282 Test  #51: sleep ..................................   Passed    0.11 sec
        Start  52: trapz
 52/282 Test  #52: trapz ..................................   Passed    0.01 sec
        Start  53: simps
 53/282 Test  #53: simps ..................................   Passed    0.01 sec
        Start  54: gauss
 54/282 Test  #54: gauss ..................................   Passed    0.01 sec
        Start  55: stdlib_math
 55/282 Test  #55: stdlib_math ............................***Failed    0.01 sec
        Start  56: linspace
 56/282 Test  #56: linspace ...............................   Passed    0.01 sec
        Start  57: logspace
 57/282 Test  #57: logspace ...............................   Passed    0.01 sec
        Start  58: insert_at
 58/282 Test  #58: insert_at ..............................   Passed    0.04 sec
        Start  59: append_prepend
 59/282 Test  #59: append_prepend .........................   Passed    0.05 sec
        Start  60: colors
 60/282 Test  #60: colors .................................   Passed    0.01 sec
        Start  61: falseloc
 61/282 Test  #61: falseloc ...............................   Passed    0.01 sec
        Start  62: trueloc
 62/282 Test  #62: trueloc ................................   Passed    0.01 sec
        Start  63: ascii_reverse
 63/282 Test  #63: ascii_reverse ..........................   Passed    0.01 sec
        Start  64: ascii_to_lower
 64/282 Test  #64: ascii_to_lower .........................   Passed    0.01 sec
        Start  65: ascii_to_sentence
 65/282 Test  #65: ascii_to_sentence ......................   Passed    0.01 sec
        Start  66: ascii_to_title
 66/282 Test  #66: ascii_to_title .........................   Passed    0.01 sec
        Start  67: ascii_to_upper
 67/282 Test  #67: ascii_to_upper .........................   Passed    0.01 sec
        Start  68: bitsets_all
 68/282 Test  #68: bitsets_all ............................   Passed    0.01 sec
        Start  69: bitsets_and
 69/282 Test  #69: bitsets_and ............................   Passed    0.01 sec
        Start  70: bitsets_and_not
 70/282 Test  #70: bitsets_and_not ........................   Passed    0.01 sec
        Start  71: bitsets_any
 71/282 Test  #71: bitsets_any ............................   Passed    0.01 sec
        Start  72: bitsets_assignment
 72/282 Test  #72: bitsets_assignment .....................   Passed    0.01 sec
        Start  73: bitsets_bit_count
 73/282 Test  #73: bitsets_bit_count ......................   Passed    0.01 sec
        Start  74: bitsets_bits
 74/282 Test  #74: bitsets_bits ...........................   Passed    0.01 sec
        Start  75: bitsets_clear
 75/282 Test  #75: bitsets_clear ..........................   Passed    0.01 sec
        Start  76: bitsets_equality
 76/282 Test  #76: bitsets_equality .......................   Passed    0.01 sec
        Start  77: bitsets_extract
 77/282 Test  #77: bitsets_extract ........................   Passed    0.01 sec
        Start  78: bitsets_flip
 78/282 Test  #78: bitsets_flip ...........................   Passed    0.01 sec
        Start  79: bitsets_from_string
 79/282 Test  #79: bitsets_from_string ....................   Passed    0.01 sec
        Start  80: bitsets_ge
 80/282 Test  #80: bitsets_ge .............................   Passed    0.01 sec
        Start  81: bitsets_gt
 81/282 Test  #81: bitsets_gt .............................   Passed    0.01 sec
        Start  82: bitsets_inequality
 82/282 Test  #82: bitsets_inequality .....................   Passed    0.01 sec
        Start  83: bitsets_init
 83/282 Test  #83: bitsets_init ...........................   Passed    0.01 sec
        Start  84: bitsets_input
 84/282 Test  #84: bitsets_input ..........................   Passed    0.01 sec
        Start  85: bitsets_le
 85/282 Test  #85: bitsets_le .............................   Passed    0.01 sec
        Start  86: bitsets_lt
 86/282 Test  #86: bitsets_lt .............................   Passed    0.01 sec
        Start  87: bitsets_none
 87/282 Test  #87: bitsets_none ...........................   Passed    0.01 sec
        Start  88: bitsets_not
 88/282 Test  #88: bitsets_not ............................   Passed    0.01 sec
        Start  89: bitsets_or
 89/282 Test  #89: bitsets_or .............................   Passed    0.01 sec
        Start  90: bitsets_output
 90/282 Test  #90: bitsets_output .........................   Passed    0.01 sec
        Start  91: bitsets_read_bitset
 91/282 Test  #91: bitsets_read_bitset ....................   Passed    0.01 sec
        Start  92: bitsets_set
 92/282 Test  #92: bitsets_set ............................   Passed    0.01 sec
        Start  93: bitsets_test
 93/282 Test  #93: bitsets_test ...........................   Passed    0.01 sec
        Start  94: bitsets_to_string
 94/282 Test  #94: bitsets_to_string ......................   Passed    0.01 sec
        Start  95: bitsets_value
 95/282 Test  #95: bitsets_value ..........................   Passed    0.01 sec
        Start  96: bitsets_write_bitset
 96/282 Test  #96: bitsets_write_bitset ...................   Passed    0.01 sec
        Start  97: bitsets_xor
 97/282 Test  #97: bitsets_xor ............................   Passed    0.01 sec
        Start  98: check1
 98/282 Test  #98: check1 .................................   Passed    0.01 sec
        Start  99: check2
 99/282 Test  #99: check2 .................................   Passed    0.01 sec
        Start 100: check3
100/282 Test #100: check3 .................................   Passed    0.01 sec
        Start 101: check4
101/282 Test #101: check4 .................................***Skipped   0.01 sec
        Start 102: error_stop1
102/282 Test #102: error_stop1 ............................   Passed    0.01 sec
        Start 103: error_stop2
103/282 Test #103: error_stop2 ............................   Passed    0.01 sec
        Start 104: hashmaps_calls
104/282 Test #104: hashmaps_calls .........................   Passed    0.01 sec
        Start 105: hashmaps_copy_key
105/282 Test #105: hashmaps_copy_key ......................   Passed    0.01 sec
        Start 106: hashmaps_copy_other
106/282 Test #106: hashmaps_copy_other ....................   Passed    0.01 sec
        Start 107: hashmaps_entries
107/282 Test #107: hashmaps_entries .......................   Passed    0.01 sec
        Start 108: hashmaps_equal_keys
108/282 Test #108: hashmaps_equal_keys ....................   Passed    0.01 sec
        Start 109: hashmaps_fnv_1a_hasher
109/282 Test #109: hashmaps_fnv_1a_hasher .................   Passed    0.01 sec
        Start 110: hashmaps_fnv_1_hasher
110/282 Test #110: hashmaps_fnv_1_hasher ..................   Passed    0.01 sec
        Start 111: hashmaps_free_key
111/282 Test #111: hashmaps_free_key ......................   Passed    0.01 sec
        Start 112: hashmaps_free_other
112/282 Test #112: hashmaps_free_other ....................   Passed    0.01 sec
        Start 113: hashmaps_get
113/282 Test #113: hashmaps_get ...........................   Passed    0.01 sec
        Start 114: hashmaps_get_other_data
114/282 Test #114: hashmaps_get_other_data ................   Passed    0.01 sec
        Start 115: hashmaps_hasher_fun
115/282 Test #115: hashmaps_hasher_fun ....................   Passed    0.01 sec
        Start 116: hashmaps_init
116/282 Test #116: hashmaps_init ..........................   Passed    0.01 sec
        Start 117: hashmaps_key_test
117/282 Test #117: hashmaps_key_test ......................   Passed    0.01 sec
        Start 118: hashmaps_loading
118/282 Test #118: hashmaps_loading .......................   Passed    0.01 sec
        Start 119: hashmaps_map_entry
119/282 Test #119: hashmaps_map_entry .....................   Passed    0.01 sec
        Start 120: hashmaps_num_slots
120/282 Test #120: hashmaps_num_slots .....................   Passed    0.01 sec
        Start 121: hashmaps_probes
121/282 Test #121: hashmaps_probes ........................   Passed    0.01 sec
        Start 122: hashmaps_rehash
122/282 Test #122: hashmaps_rehash ........................   Passed    0.01 sec
        Start 123: hashmaps_remove
123/282 Test #123: hashmaps_remove ........................   Passed    0.01 sec
        Start 124: hashmaps_seeded_nmhash32_hasher
124/282 Test #124: hashmaps_seeded_nmhash32_hasher ........   Passed    0.01 sec
        Start 125: hashmaps_seeded_nmhash32x_hasher
125/282 Test #125: hashmaps_seeded_nmhash32x_hasher .......   Passed    0.01 sec
        Start 126: hashmaps_seeded_water_hasher
126/282 Test #126: hashmaps_seeded_water_hasher ...........   Passed    0.01 sec
        Start 127: hashmaps_set
127/282 Test #127: hashmaps_set ...........................   Passed    0.01 sec
        Start 128: hashmaps_set_other_data
128/282 Test #128: hashmaps_set_other_data ................   Passed    0.01 sec
        Start 129: hashmaps_slots_bits
129/282 Test #129: hashmaps_slots_bits ....................   Passed    0.01 sec
        Start 130: hashmaps_total_depth
130/282 Test #130: hashmaps_total_depth ...................   Passed    0.01 sec
        Start 131: fibonacci_hash_64
131/282 Test #131: fibonacci_hash_64 ......................   Passed    0.01 sec
        Start 132: fibonacci_hash
132/282 Test #132: fibonacci_hash .........................   Passed    0.01 sec
        Start 133: fnv_1a_hash_64
133/282 Test #133: fnv_1a_hash_64 .........................   Passed    0.01 sec
        Start 134: fnv_1a_hash
134/282 Test #134: fnv_1a_hash ............................   Passed    0.01 sec
        Start 135: fnv_1_hash_64
135/282 Test #135: fnv_1_hash_64 ..........................   Passed    0.01 sec
        Start 136: fnv_1_hash
136/282 Test #136: fnv_1_hash .............................   Passed    0.01 sec
        Start 137: nmhash32
137/282 Test #137: nmhash32 ...............................   Passed    0.01 sec
        Start 138: nmhash32x
138/282 Test #138: nmhash32x ..............................   Passed    0.01 sec
        Start 139: pengy_hash
139/282 Test #139: pengy_hash .............................   Passed    0.01 sec
        Start 140: spooky_hash
140/282 Test #140: spooky_hash ............................   Passed    0.01 sec
        Start 141: universal_mult_hash_64
141/282 Test #141: universal_mult_hash_64 .................   Passed    0.01 sec
        Start 142: universal_mult_hash
142/282 Test #142: universal_mult_hash ....................   Passed    0.01 sec
        Start 143: water_hash
143/282 Test #143: water_hash .............................   Passed    0.01 sec
        Start 144: fmt_constants
144/282 Test #144: fmt_constants ..........................   Passed    0.01 sec
        Start 145: loadnpy
145/282 Test #145: loadnpy ................................   Passed    0.01 sec
        Start 146: loadtxt
146/282 Test #146: loadtxt ................................   Passed    0.01 sec
        Start 147: open
147/282 Test #147: open ...................................   Passed    0.01 sec
        Start 148: savenpy
148/282 Test #148: savenpy ................................   Passed    0.01 sec
        Start 149: savetxt
149/282 Test #149: savetxt ................................   Passed    0.02 sec
        Start 150: diag1
150/282 Test #150: diag1 ..................................   Passed    0.02 sec
        Start 151: diag2
151/282 Test #151: diag2 ..................................   Passed    0.03 sec
        Start 152: diag3
152/282 Test #152: diag3 ..................................   Passed    0.01 sec
        Start 153: diag4
153/282 Test #153: diag4 ..................................   Passed    0.01 sec
        Start 154: diag5
154/282 Test #154: diag5 ..................................   Passed    0.01 sec
        Start 155: eye1
155/282 Test #155: eye1 ...................................   Passed    0.01 sec
        Start 156: eye2
156/282 Test #156: eye2 ...................................   Passed    0.01 sec
        Start 157: is_diagonal
157/282 Test #157: is_diagonal ............................   Passed    0.01 sec
        Start 158: is_hermitian
158/282 Test #158: is_hermitian ...........................   Passed    0.01 sec
        Start 159: is_hessenberg
159/282 Test #159: is_hessenberg ..........................   Passed    0.01 sec
        Start 160: is_skew_symmetric
160/282 Test #160: is_skew_symmetric ......................   Passed    0.01 sec
        Start 161: is_square
161/282 Test #161: is_square ..............................   Passed    0.01 sec
        Start 162: is_symmetric
162/282 Test #162: is_symmetric ...........................   Passed    0.01 sec
        Start 163: is_triangular
163/282 Test #163: is_triangular ..........................   Passed    0.01 sec
        Start 164: outer_product
164/282 Test #164: outer_product ..........................   Passed    0.01 sec
        Start 165: trace
165/282 Test #165: trace ..................................   Passed    0.01 sec
        Start 166: add_log_unit
166/282 Test #166: add_log_unit ...........................   Passed    0.01 sec
        Start 167: configure
167/282 Test #167: configure ..............................   Passed    0.01 sec
        Start 168: global_logger
168/282 Test #168: global_logger ..........................   Passed    0.01 sec
        Start 169: log_io_error
169/282 Test #169: log_io_error ...........................   Passed    0.01 sec
        Start 170: log_text_error
170/282 Test #170: log_text_error .........................   Passed    0.01 sec
        Start 171: clip_integer
171/282 Test #171: clip_integer ...........................   Passed    0.01 sec
        Start 172: clip_real
172/282 Test #172: clip_real ..............................   Passed    0.02 sec
        Start 173: diff
173/282 Test #173: diff ...................................   Passed    0.02 sec
        Start 174: gcd
174/282 Test #174: gcd ....................................   Passed    0.01 sec
        Start 175: linspace_complex
175/282 Test #175: linspace_complex .......................   Passed    0.01 sec
        Start 176: linspace_int16
176/282 Test #176: linspace_int16 .........................   Passed    0.02 sec
        Start 177: logspace_complex
177/282 Test #177: logspace_complex .......................   Passed    0.01 sec
        Start 178: logspace_int
178/282 Test #178: logspace_int ...........................   Passed    0.01 sec
        Start 179: logspace_rstart_cbase
179/282 Test #179: logspace_rstart_cbase ..................   Passed    0.02 sec
        Start 180: math_all_close
180/282 Test #180: math_all_close .........................   Passed    0.01 sec
        Start 181: math_arange
181/282 Test #181: math_arange ............................   Passed    0.01 sec
        Start 182: math_argd
182/282 Test #182: math_argd ..............................   Passed    0.01 sec
        Start 183: math_arg
183/282 Test #183: math_arg ...............................   Passed    0.01 sec
        Start 184: math_argpi
184/282 Test #184: math_argpi .............................   Passed    0.01 sec
        Start 185: math_is_close
185/282 Test #185: math_is_close ..........................   Passed    0.01 sec
        Start 186: optval
186/282 Test #186: optval .................................   Passed    0.01 sec
        Start 187: gauss_legendre
187/282 Test #187: gauss_legendre .........................   Passed    0.01 sec
        Start 188: gauss_legendre_lobatto
188/282 Test #188: gauss_legendre_lobatto .................   Passed    0.01 sec
        Start 189: simps
189/282 Test #189: simps ..................................   Passed    0.01 sec
        Start 190: simps_weights
190/282 Test #190: simps_weights ..........................   Passed    0.01 sec
        Start 191: trapz
191/282 Test #191: trapz ..................................   Passed    0.01 sec
        Start 192: trapz_weights
192/282 Test #192: trapz_weights ..........................   Passed    0.01 sec
        Start 193: dist_rand
193/282 Test #193: dist_rand ..............................   Passed    0.01 sec
        Start 194: random_seed
194/282 Test #194: random_seed ............................   Passed    0.01 sec
        Start 195: arg_select
195/282 Test #195: arg_select .............................   Passed    0.01 sec
        Start 196: select
196/282 Test #196: select .................................   Passed    0.01 sec
        Start 197: ord_sort
197/282 Test #197: ord_sort ...............................   Passed    0.01 sec
        Start 198: sort
198/282 Test #198: sort ...................................   Passed    0.01 sec
        Start 199: gamma
199/282 Test #199: gamma ..................................   Passed    0.01 sec
        Start 200: gamma_p
200/282 Test #200: gamma_p ................................   Passed    0.01 sec
        Start 201: gamma_q
201/282 Test #201: gamma_q ................................   Passed    0.01 sec
        Start 202: ligamma
202/282 Test #202: ligamma ................................   Passed    0.01 sec
        Start 203: log_factorial
203/282 Test #203: log_factorial ..........................   Passed    0.01 sec
        Start 204: log_gamma
204/282 Test #204: log_gamma ..............................   Passed    0.01 sec
        Start 205: uigamma
205/282 Test #205: uigamma ................................   Passed    0.01 sec
        Start 206: corr
206/282 Test #206: corr ...................................   Passed    0.01 sec
        Start 207: cov
207/282 Test #207: cov ....................................   Passed    0.01 sec
        Start 208: mean
208/282 Test #208: mean ...................................   Passed    0.01 sec
        Start 209: median
209/282 Test #209: median .................................   Passed    0.01 sec
        Start 210: moment
210/282 Test #210: moment .................................   Passed    0.01 sec
        Start 211: var
211/282 Test #211: var ....................................   Passed    0.01 sec
        Start 212: exponential_cdf
212/282 Test #212: exponential_cdf ........................   Passed    0.01 sec
        Start 213: exponential_pdf
213/282 Test #213: exponential_pdf ........................   Passed    0.01 sec
        Start 214: exponential_rvs
214/282 Test #214: exponential_rvs ........................   Passed    0.01 sec
        Start 215: normal_pdf
215/282 Test #215: normal_pdf .............................   Passed    0.01 sec
        Start 216: normal_rvs
216/282 Test #216: normal_rvs .............................   Passed    0.01 sec
        Start 217: norm_cdf
217/282 Test #217: norm_cdf ...............................   Passed    0.01 sec
        Start 218: shuffle
218/282 Test #218: shuffle ................................   Passed    0.01 sec
        Start 219: uniform_cdf
219/282 Test #219: uniform_cdf ............................   Passed    0.01 sec
        Start 220: uniform_pdf
220/282 Test #220: uniform_pdf ............................   Passed    0.01 sec
        Start 221: uniform_rvs
221/282 Test #221: uniform_rvs ............................   Passed    0.01 sec
        Start 222: stringlist_type_clear
222/282 Test #222: stringlist_type_clear ..................   Passed    0.01 sec
        Start 223: stringlist_type_concatenate_operator
223/282 Test #223: stringlist_type_concatenate_operator ...   Passed    0.01 sec
        Start 224: stringlist_type_constructor
224/282 Test #224: stringlist_type_constructor ............   Passed    0.01 sec
        Start 225: stringlist_type_equality_operator
225/282 Test #225: stringlist_type_equality_operator ......   Passed    0.01 sec
        Start 226: stringlist_type_fidx_bidx
226/282 Test #226: stringlist_type_fidx_bidx ..............   Passed    0.01 sec
        Start 227: stringlist_type_get
227/282 Test #227: stringlist_type_get ....................   Passed    0.01 sec
        Start 228: stringlist_type_inequality_operator
228/282 Test #228: stringlist_type_inequality_operator ....   Passed    0.01 sec
        Start 229: stringlist_type_insert_at
229/282 Test #229: stringlist_type_insert_at ..............   Passed    0.01 sec
        Start 230: stringlist_type_len
230/282 Test #230: stringlist_type_len ....................   Passed    0.01 sec
        Start 231: chomp
231/282 Test #231: chomp ..................................   Passed    0.01 sec
        Start 232: count
232/282 Test #232: count ..................................   Passed    0.01 sec
        Start 233: ends_with
233/282 Test #233: ends_with ..............................   Passed    0.01 sec
        Start 234: find
234/282 Test #234: find ...................................   Passed    0.01 sec
        Start 235: padl
235/282 Test #235: padl ...................................   Passed    0.01 sec
        Start 236: padr
236/282 Test #236: padr ...................................   Passed    0.01 sec
        Start 237: replace_all
237/282 Test #237: replace_all ............................   Passed    0.01 sec
        Start 238: slice
238/282 Test #238: slice ..................................   Passed    0.01 sec
        Start 239: starts_with
239/282 Test #239: starts_with ............................   Passed    0.01 sec
        Start 240: strip
240/282 Test #240: strip ..................................   Passed    0.01 sec
        Start 241: to_string
241/282 Test #241: to_string ..............................   Passed    0.01 sec
        Start 242: adjustl
242/282 Test #242: adjustl ................................   Passed    0.01 sec
        Start 243: adjustr
243/282 Test #243: adjustr ................................   Passed    0.01 sec
        Start 244: char
244/282 Test #244: char ...................................   Passed    0.01 sec
        Start 245: char_position
245/282 Test #245: char_position ..........................   Passed    0.01 sec
        Start 246: char_range
246/282 Test #246: char_range .............................   Passed    0.01 sec
        Start 247: constructor_character
247/282 Test #247: constructor_character ..................   Passed    0.01 sec
        Start 248: constructor_empty
248/282 Test #248: constructor_empty ......................   Passed    0.01 sec
        Start 249: constructor_integer
249/282 Test #249: constructor_integer ....................   Passed    0.01 sec
        Start 250: constructor_logical
250/282 Test #250: constructor_logical ....................   Passed    0.01 sec
        Start 251: constructor_scalar
251/282 Test #251: constructor_scalar .....................   Passed    0.01 sec
        Start 252: cont
252/282 Test #252: cont ...................................   Passed    0.01 sec
        Start 253: eq
253/282 Test #253: eq .....................................   Passed    0.01 sec
        Start 254: fread
254/282 Test #254: fread ..................................   Passed    0.01 sec
        Start 255: fwrite
255/282 Test #255: fwrite .................................   Passed    0.01 sec
        Start 256: ge
256/282 Test #256: ge .....................................   Passed    0.01 sec
        Start 257: gt
257/282 Test #257: gt .....................................   Passed    0.01 sec
        Start 258: iachar
258/282 Test #258: iachar .................................   Passed    0.01 sec
        Start 259: ichar
259/282 Test #259: ichar ..................................   Passed    0.01 sec
        Start 260: index
260/282 Test #260: index ..................................   Passed    0.01 sec
        Start 261: le
261/282 Test #261: le .....................................   Passed    0.01 sec
        Start 262: len
262/282 Test #262: len ....................................   Passed    0.01 sec
        Start 263: len_trim
263/282 Test #263: len_trim ...............................   Passed    0.01 sec
        Start 264: lge
264/282 Test #264: lge ....................................   Passed    0.01 sec
        Start 265: lgt
265/282 Test #265: lgt ....................................   Passed    0.01 sec
        Start 266: lle
266/282 Test #266: lle ....................................   Passed    0.01 sec
        Start 267: llt
267/282 Test #267: llt ....................................   Passed    0.01 sec
        Start 268: lt
268/282 Test #268: lt .....................................   Passed    0.01 sec
        Start 269: move
269/282 Test #269: move ...................................   Passed    0.01 sec
        Start 270: ne
270/282 Test #270: ne .....................................   Passed    0.01 sec
        Start 271: repeat
271/282 Test #271: repeat .................................   Passed    0.01 sec
        Start 272: reverse
272/282 Test #272: reverse ................................   Passed    0.01 sec
        Start 273: scan
273/282 Test #273: scan ...................................   Passed    0.01 sec
        Start 274: to_lower
274/282 Test #274: to_lower ...............................   Passed    0.01 sec
        Start 275: to_sentence
275/282 Test #275: to_sentence ............................   Passed    0.01 sec
        Start 276: to_title
276/282 Test #276: to_title ...............................   Passed    0.01 sec
        Start 277: to_upper
277/282 Test #277: to_upper ...............................   Passed    0.01 sec
        Start 278: trim
278/282 Test #278: trim ...................................   Passed    0.01 sec
        Start 279: uread
279/282 Test #279: uread ..................................   Passed    0.01 sec
        Start 280: uwrite
280/282 Test #280: uwrite .................................   Passed    0.01 sec
        Start 281: verify
281/282 Test #281: verify .................................   Passed    0.01 sec
        Start 282: version
282/282 Test #282: version ................................   Passed    0.01 sec

99% tests passed, 3 tests failed out of 282

Label Time Summary:
quadruple_precision    =   0.02 sec*proc (2 tests)

Total Test time (real) =  25.10 sec

The following tests did not run:
      1 - always_skip (Skipped)
    101 - check4 (Skipped)

The following tests FAILED:
     10 - hash_functions (Failed)
     30 - specialfunctions_gamma (Failed)
     55 - stdlib_math (Failed)

Expected Behaviour

Ideally we would want everything pass.

Version of stdlib

Github

Platform and Architecture

macOS 10.6 ppc

Additional Information

gcc 12.2.0

barracuda156 commented 1 year ago

This looks like the code is not considering Big-endian platforms? Hopefully this can be fixed.

Also, failing a test because CPU is not LE is crazy :)

10/282 Test: hash_functions
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build/test/hash_functions/test_hash_functions" "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build/test/hash_functions"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/stdlib-1243ad93cc3a6f228cbf9544e84aa0d9c14caeee/test/hash_functions
"hash_functions" start time: Feb 20 03:48 CST
Output:
----------------------------------------------------------
# Testing: hash_functions
  Starting little_endian ... (1/6)
       ... little_endian [FAILED]
  Message: The processor is not Little-Endian
  Starting nmhash32 ... (2/6)
       ... nmhash32 [FAILED]
  Message: NMHASH32 failed
  Starting nmhash32x ... (3/6)
       ... nmhash32x [FAILED]
  Message: NMHASH32X failed
  Starting water_hash ... (4/6)
       ... water_hash [FAILED]
  Message: WATER_HASH failed
  Starting pengy_hash ... (5/6)
       ... pengy_hash [PASSED]
  Starting spooky_hash ... (6/6)
       ... spooky_hash [PASSED]
4 test(s) failed!
ERROR STOP 

Error termination. Backtrace:
#0  0xf19db
<end of output>
Test time =   0.07 sec
----------------------------------------------------------
Test Failed.
"hash_functions" end time: Feb 20 03:48 CST
"hash_functions" time elapsed: 00:00:00
barracuda156 commented 1 year ago
30/282 Testing: specialfunctions_gamma
30/282 Test: specialfunctions_gamma
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build/test/specialfunctions/test_specialfunctions_gamma" "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build/test/specialfunctions"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/stdlib-1243ad93cc3a6f228cbf9544e84aa0d9c14caeee/test/specialfunctions
"specialfunctions_gamma" start time: Feb 20 03:49 CST
Output:
----------------------------------------------------------
# Testing: Gamma special function
  Starting log_factorial_iint8 ... (1/77)
       ... log_factorial_iint8 [PASSED]
  Starting log_factorial_iint8 ... (2/77)
       ... log_factorial_iint8 [PASSED]
  Starting log_factorial_iint16 ... (3/77)
       ... log_factorial_iint16 [PASSED]
  Starting log_factorial_iint32 ... (4/77)
       ... log_factorial_iint32 [PASSED]
  Starting log_factorial_iint64 ... (5/77)
       ... log_factorial_iint64 [PASSED]
  Starting gamma_iint8 ... (6/77)
       ... gamma_iint8 [PASSED]
  Starting log_gamma_iint8 ... (7/77)
       ... log_gamma_iint8 [PASSED]
  Starting gamma_iint16 ... (8/77)
       ... gamma_iint16 [PASSED]
  Starting log_gamma_iint16 ... (9/77)
       ... log_gamma_iint16 [PASSED]
  Starting gamma_iint32 ... (10/77)
       ... gamma_iint32 [PASSED]
  Starting log_gamma_iint32 ... (11/77)
       ... log_gamma_iint32 [PASSED]
  Starting gamma_iint64 ... (12/77)
       ... gamma_iint64 [PASSED]
  Starting log_gamma_iint64 ... (13/77)
       ... log_gamma_iint64 [PASSED]
  Starting gamma_csp ... (14/77)
       ... gamma_csp [PASSED]
  Starting log_gamma_csp ... (15/77)
       ... log_gamma_csp [PASSED]
  Starting gamma_cdp ... (16/77)
[Fatal] Uncaught error
Code: 1 Message: Complex kind dp failed
Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG IEEE_UNDERFLOW_FLAG
ERROR STOP 

Error termination. Backtrace:
#0  0xf19db
<end of output>
Test time =   0.03 sec
----------------------------------------------------------
Test Failed.
"specialfunctions_gamma" end time: Feb 20 03:49 CST
"specialfunctions_gamma" time elapsed: 00:00:00
barracuda156 commented 1 year ago

And then some complex num tests here:

55/282 Testing: stdlib_math
55/282 Test: stdlib_math
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build/test/math/test_stdlib_math" "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build/test/math"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/stdlib-1243ad93cc3a6f228cbf9544e84aa0d9c14caeee/test/math
"stdlib_math" start time: Feb 20 03:49 CST
Output:
----------------------------------------------------------
# Testing: stdlib-math
  Starting clip-int8 ... (1/49)
       ... clip-int8 [PASSED]
  Starting clip-int8-bounds ... (2/49)
       ... clip-int8-bounds [PASSED]
  Starting clip-int16 ... (3/49)
       ... clip-int16 [PASSED]
  Starting clip-int16-bounds ... (4/49)
       ... clip-int16-bounds [PASSED]
  Starting clip-int32 ... (5/49)
       ... clip-int32 [PASSED]
  Starting clip-int32-bounds ... (6/49)
       ... clip-int32-bounds [PASSED]
  Starting clip-int64 ... (7/49)
       ... clip-int64 [PASSED]
  Starting clip-int64-bounds ... (8/49)
       ... clip-int64-bounds [PASSED]
  Starting clip-real-single ... (9/49)
       ... clip-real-single [PASSED]
  Starting clip-real-single-bounds ... (10/49)
       ... clip-real-single-bounds [PASSED]
  Starting clip-real-double ... (11/49)
       ... clip-real-double [PASSED]
  Starting clip-real-double-bounds ... (12/49)
       ... clip-real-double-bounds [PASSED]
  Starting clip-real-quad ... (13/49)
       ... clip-real-quad [SKIPPED]
  Message: Quadruple precision is not enabled
  Starting clip-real-quad-bounds ... (14/49)
       ... clip-real-quad-bounds [SKIPPED]
  Message: Quadruple precision is not enabled
  Starting arg-cmplx-sp ... (15/49)
       ... arg-cmplx-sp [PASSED]
  Starting argd-cmplx-sp ... (16/49)
       ... argd-cmplx-sp [PASSED]
  Starting argpi-cmplx-sp ... (17/49)
       ... argpi-cmplx-sp [PASSED]
  Starting arg-cmplx-dp ... (18/49)
       ... arg-cmplx-dp [PASSED]
  Starting argd-cmplx-dp ... (19/49)
       ... argd-cmplx-dp [PASSED]
  Starting argpi-cmplx-dp ... (20/49)
       ... argpi-cmplx-dp [PASSED]
  Starting arg-cmplx-xdp ... (21/49)
       ... arg-cmplx-xdp [FAILED]
  Message: test_nonzero_scalar
  Starting argd-cmplx-xdp ... (22/49)
       ... argd-cmplx-xdp [FAILED]
  Message: test_nonzero_scalar
  Starting argpi-cmplx-xdp ... (23/49)
       ... argpi-cmplx-xdp [FAILED]
  Message: test_nonzero_scalar
  Starting is_close-real-sp ... (24/49)
       ... is_close-real-sp [PASSED]
  Starting is_close-cmplx-sp ... (25/49)
       ... is_close-cmplx-sp [PASSED]
  Starting all_close-real-sp ... (26/49)
       ... all_close-real-sp [PASSED]
  Starting all_close-cmplx-sp ... (27/49)
       ... all_close-cmplx-sp [PASSED]
  Starting is_close-real-dp ... (28/49)
       ... is_close-real-dp [PASSED]
  Starting is_close-cmplx-dp ... (29/49)
       ... is_close-cmplx-dp [PASSED]
  Starting all_close-real-dp ... (30/49)
       ... all_close-real-dp [PASSED]
  Starting all_close-cmplx-dp ... (31/49)
       ... all_close-cmplx-dp [PASSED]
  Starting is_close-real-xdp ... (32/49)
       ... is_close-real-xdp [PASSED]
  Starting is_close-cmplx-xdp ... (33/49)
       ... is_close-cmplx-xdp [PASSED]
  Starting all_close-real-xdp ... (34/49)
       ... all_close-real-xdp [PASSED]
  Starting all_close-cmplx-xdp ... (35/49)
       ... all_close-cmplx-xdp [PASSED]
  Starting diff-real-sp ... (36/49)
       ... diff-real-sp [PASSED]
  Starting diff-real-dp ... (37/49)
       ... diff-real-dp [PASSED]
  Starting diff-real-xdp ... (38/49)
       ... diff-real-xdp [PASSED]
  Starting diff-int-int8 ... (39/49)
       ... diff-int-int8 [PASSED]
  Starting diff-int-int16 ... (40/49)
       ... diff-int-int16 [PASSED]
  Starting diff-int-int32 ... (41/49)
       ... diff-int-int32 [PASSED]
  Starting diff-int-int64 ... (42/49)
       ... diff-int-int64 [PASSED]
  Starting arange-real-sp ... (43/49)
       ... arange-real-sp [PASSED]
  Starting arange-real-dp ... (44/49)
       ... arange-real-dp [PASSED]
  Starting arange-real-xdp ... (45/49)
       ... arange-real-xdp [PASSED]
  Starting arange-int-int8 ... (46/49)
       ... arange-int-int8 [PASSED]
  Starting arange-int-int16 ... (47/49)
       ... arange-int-int16 [PASSED]
  Starting arange-int-int32 ... (48/49)
       ... arange-int-int32 [PASSED]
  Starting arange-int-int64 ... (49/49)
       ... arange-int-int64 [PASSED]
3 test(s) failed!
Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG
ERROR STOP 

Error termination. Backtrace:
#0  0xf19db
<end of output>
Test time =   0.01 sec
----------------------------------------------------------
Test Failed.
"stdlib_math" end time: Feb 20 03:49 CST
"stdlib_math" time elapsed: 00:00:00
jvdp1 commented 1 year ago

This looks like the code is not considering Big-endian platforms? Hopefully this can be fixed.

Also, failing a test because CPU is not LE is crazy :)

10/282 Test: hash_functions
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build/test/hash_functions/test_hash_functions" "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build/test/hash_functions"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/stdlib-1243ad93cc3a6f228cbf9544e84aa0d9c14caeee/test/hash_functions
"hash_functions" start time: Feb 20 03:48 CST
Output:
----------------------------------------------------------
# Testing: hash_functions
  Starting little_endian ... (1/6)
       ... little_endian [FAILED]
  Message: The processor is not Little-Endian
  Starting nmhash32 ... (2/6)
       ... nmhash32 [FAILED]
  Message: NMHASH32 failed
  Starting nmhash32x ... (3/6)
       ... nmhash32x [FAILED]
  Message: NMHASH32X failed
  Starting water_hash ... (4/6)
       ... water_hash [FAILED]
  Message: WATER_HASH failed
  Starting pengy_hash ... (5/6)
       ... pengy_hash [PASSED]
  Starting spooky_hash ... (6/6)
       ... spooky_hash [PASSED]
4 test(s) failed!
ERROR STOP 

Error termination. Backtrace:
#0  0xf19db
<end of output>
Test time =   0.07 sec
----------------------------------------------------------
Test Failed.
"hash_functions" end time: Feb 20 03:48 CST
"hash_functions" time elapsed: 00:00:00

Following the doc:

...
The code was designed for little-endian compilers, and will give different results on big-endian compilers, but the hash quality on those compilers is probably just as good. 
...

Therefore, the tests have not been developed for Big-Endian.

jvdp1 commented 1 year ago

And then some complex num tests here:

55/282 Testing: stdlib_math
55/282 Test: stdlib_math
Command: "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build/test/math/test_stdlib_math" "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/build/test/math"
Directory: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_fortran-stdlib/fortran-stdlib/work/stdlib-1243ad93cc3a6f228cbf9544e84aa0d9c14caeee/test/math
"stdlib_math" start time: Feb 20 03:49 CST
Output:
----------------------------------------------------------
# Testing: stdlib-math
  Starting clip-int8 ... (1/49)
       ... clip-int8 [PASSED]
  Starting clip-int8-bounds ... (2/49)
       ... clip-int8-bounds [PASSED]
  Starting clip-int16 ... (3/49)
       ... clip-int16 [PASSED]
  Starting clip-int16-bounds ... (4/49)
       ... clip-int16-bounds [PASSED]
  Starting clip-int32 ... (5/49)
       ... clip-int32 [PASSED]
  Starting clip-int32-bounds ... (6/49)
       ... clip-int32-bounds [PASSED]
  Starting clip-int64 ... (7/49)
       ... clip-int64 [PASSED]
  Starting clip-int64-bounds ... (8/49)
       ... clip-int64-bounds [PASSED]
  Starting clip-real-single ... (9/49)
       ... clip-real-single [PASSED]
  Starting clip-real-single-bounds ... (10/49)
       ... clip-real-single-bounds [PASSED]
  Starting clip-real-double ... (11/49)
       ... clip-real-double [PASSED]
  Starting clip-real-double-bounds ... (12/49)
       ... clip-real-double-bounds [PASSED]
  Starting clip-real-quad ... (13/49)
       ... clip-real-quad [SKIPPED]
  Message: Quadruple precision is not enabled
  Starting clip-real-quad-bounds ... (14/49)
       ... clip-real-quad-bounds [SKIPPED]
  Message: Quadruple precision is not enabled
  Starting arg-cmplx-sp ... (15/49)
       ... arg-cmplx-sp [PASSED]
  Starting argd-cmplx-sp ... (16/49)
       ... argd-cmplx-sp [PASSED]
  Starting argpi-cmplx-sp ... (17/49)
       ... argpi-cmplx-sp [PASSED]
  Starting arg-cmplx-dp ... (18/49)
       ... arg-cmplx-dp [PASSED]
  Starting argd-cmplx-dp ... (19/49)
       ... argd-cmplx-dp [PASSED]
  Starting argpi-cmplx-dp ... (20/49)
       ... argpi-cmplx-dp [PASSED]
  Starting arg-cmplx-xdp ... (21/49)
       ... arg-cmplx-xdp [FAILED]
  Message: test_nonzero_scalar
  Starting argd-cmplx-xdp ... (22/49)
       ... argd-cmplx-xdp [FAILED]
  Message: test_nonzero_scalar
  Starting argpi-cmplx-xdp ... (23/49)
       ... argpi-cmplx-xdp [FAILED]
  Message: test_nonzero_scalar
  Starting is_close-real-sp ... (24/49)
       ... is_close-real-sp [PASSED]
  Starting is_close-cmplx-sp ... (25/49)
       ... is_close-cmplx-sp [PASSED]
  Starting all_close-real-sp ... (26/49)
       ... all_close-real-sp [PASSED]
  Starting all_close-cmplx-sp ... (27/49)
       ... all_close-cmplx-sp [PASSED]
  Starting is_close-real-dp ... (28/49)
       ... is_close-real-dp [PASSED]
  Starting is_close-cmplx-dp ... (29/49)
       ... is_close-cmplx-dp [PASSED]
  Starting all_close-real-dp ... (30/49)
       ... all_close-real-dp [PASSED]
  Starting all_close-cmplx-dp ... (31/49)
       ... all_close-cmplx-dp [PASSED]
  Starting is_close-real-xdp ... (32/49)
       ... is_close-real-xdp [PASSED]
  Starting is_close-cmplx-xdp ... (33/49)
       ... is_close-cmplx-xdp [PASSED]
  Starting all_close-real-xdp ... (34/49)
       ... all_close-real-xdp [PASSED]
  Starting all_close-cmplx-xdp ... (35/49)
       ... all_close-cmplx-xdp [PASSED]
  Starting diff-real-sp ... (36/49)
       ... diff-real-sp [PASSED]
  Starting diff-real-dp ... (37/49)
       ... diff-real-dp [PASSED]
  Starting diff-real-xdp ... (38/49)
       ... diff-real-xdp [PASSED]
  Starting diff-int-int8 ... (39/49)
       ... diff-int-int8 [PASSED]
  Starting diff-int-int16 ... (40/49)
       ... diff-int-int16 [PASSED]
  Starting diff-int-int32 ... (41/49)
       ... diff-int-int32 [PASSED]
  Starting diff-int-int64 ... (42/49)
       ... diff-int-int64 [PASSED]
  Starting arange-real-sp ... (43/49)
       ... arange-real-sp [PASSED]
  Starting arange-real-dp ... (44/49)
       ... arange-real-dp [PASSED]
  Starting arange-real-xdp ... (45/49)
       ... arange-real-xdp [PASSED]
  Starting arange-int-int8 ... (46/49)
       ... arange-int-int8 [PASSED]
  Starting arange-int-int16 ... (47/49)
       ... arange-int-int16 [PASSED]
  Starting arange-int-int32 ... (48/49)
       ... arange-int-int32 [PASSED]
  Starting arange-int-int64 ... (49/49)
       ... arange-int-int64 [PASSED]
3 test(s) failed!
Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG
ERROR STOP 

Error termination. Backtrace:
#0  0xf19db
<end of output>
Test time =   0.01 sec
----------------------------------------------------------
Test Failed.
"stdlib_math" end time: Feb 20 03:49 CST
"stdlib_math" time elapsed: 00:00:00

Do these tests pass if you compile without enabling XDP?

barracuda156 commented 1 year ago

Following the doc:

...
The code was designed for little-endian compilers, and will give different results on big-endian compilers, but the hash quality on those compilers is probably just as good. 
...

Therefore, the tests have not been developed for Big-Endian.

I guess those should be skipped as unsupported rather than failed. It is a failure of the ones who wrote tests, after all.

barracuda156 commented 1 year ago

Disabling XDP, stdlib_math test passes.

99% tests passed, 2 tests failed out of 282

Label Time Summary:
quadruple_precision    =   0.01 sec*proc (2 tests)

Total Test time (real) =  24.68 sec

The following tests did not run:
      1 - always_skip (Skipped)
    101 - check4 (Skipped)

The following tests FAILED:
     10 - hash_functions (Failed)
     30 - specialfunctions_gamma (Failed)
jvdp1 commented 1 year ago

@awvwgk would it be possbile to set up a CI with a Big-Endian computer?

jvdp1 commented 1 year ago

I guess those should be skipped as unsupported rather than failed. It is a failure of the ones who wrote tests, after all.

As I partly wrote these tests, I will take this responsability ;) Best would be to write tests for Big-Endian, instead of skipping them. But I have no access to such a computer.

awvwgk commented 1 year ago

would it be possbile to set up a CI with a Big-Endian computer?

Unless somebody donates runtime on a BE machine, I'm not aware of freely available CI which offers this option. The only PPC providers I know of provide ppc64le. Maybe we could run via QEMU, but that requires cross-compilation to not have a super slow CI.

barracuda156 commented 1 year ago

But I have no access to such a computer.

If I can assist with testing, I will be happy to do it. Normally I have access to PPC machines daily (even if I travel, I can test in Rosetta).

barracuda156 commented 1 year ago

Unless somebody donates runtime on a BE machine, I'm not aware of freely available CI which offers this option. The only PPC providers I know of provide ppc64le. Maybe we could run via QEMU, but that requires cross-compilation to not have a super slow CI.

Another option, easy and perhaps with negligible marginal cost, is running 10.6.8 Server with Rosetta on an Intel Mac in VM. It is totally usable.

barracuda156 commented 8 months ago

@awvwgk AFAIK all Power cpus are bi-endian, so as long as this is not specific to MacOS PowerPC, you could perhaps reproduce this on FreeBSD or some Linux.

Qemu should also work fine, at least with Linux.