Skip to content

Commit cc64bff

Browse files
committed
Bisect find segfault
1 parent 2d12a3f commit cc64bff

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

stresstest.c

+26-26
Original file line numberDiff line numberDiff line change
@@ -250,32 +250,32 @@ int run_tests(int64_t *sizes, int sizes_cnt, int type) {
250250
int64_t * dst = (int64_t *)malloc(MAXSIZE * sizeof(int64_t));
251251
printf("-------\nRunning tests with %s:\n-------\n", test_names[type]);
252252
TEST_STDLIB(qsort);
253-
#if !defined(__linux__) && !defined(__CYGWIN__) && !defined(_WIN32)
254-
TEST_STDLIB(heapsort);
255-
TEST_STDLIB(mergesort);
256-
#endif
257-
258-
if (MAXSIZE < 10000) {
259-
#ifdef SET_SORT_EXTRA
260-
TEST_SORT_H(selection_sort);
261-
TEST_SORT_H(bubble_sort);
262-
#endif
263-
TEST_SORT_H(binary_insertion_sort);
264-
TEST_SORT_H(bitonic_sort);
265-
}
266-
267-
TEST_SORT_H(quick_sort);
268-
TEST_SORT_H(merge_sort);
269-
TEST_SORT_H(heap_sort);
270-
TEST_SORT_H(shell_sort);
271-
TEST_SORT_H(tim_sort);
272-
TEST_SORT_H(merge_sort_in_place);
273-
#ifdef SET_SORT_EXTRA
274-
TEST_SORT_H(grail_sort);
275-
TEST_SORT_H(sqrt_sort);
276-
TEST_SORT_H(rec_stable_sort);
277-
TEST_SORT_H(grail_sort_dyn_buffer);
278-
#endif
253+
// #if !defined(__linux__) && !defined(__CYGWIN__) && !defined(_WIN32)
254+
// TEST_STDLIB(heapsort);
255+
// TEST_STDLIB(mergesort);
256+
// #endif
257+
258+
// if (MAXSIZE < 10000) {
259+
// #ifdef SET_SORT_EXTRA
260+
// TEST_SORT_H(selection_sort);
261+
// TEST_SORT_H(bubble_sort);
262+
// #endif
263+
// TEST_SORT_H(binary_insertion_sort);
264+
// TEST_SORT_H(bitonic_sort);
265+
// }
266+
267+
// TEST_SORT_H(quick_sort);
268+
// TEST_SORT_H(merge_sort);
269+
// TEST_SORT_H(heap_sort);
270+
// TEST_SORT_H(shell_sort);
271+
// TEST_SORT_H(tim_sort);
272+
// TEST_SORT_H(merge_sort_in_place);
273+
// #ifdef SET_SORT_EXTRA
274+
// TEST_SORT_H(grail_sort);
275+
// TEST_SORT_H(sqrt_sort);
276+
// TEST_SORT_H(rec_stable_sort);
277+
// TEST_SORT_H(grail_sort_dyn_buffer);
278+
// #endif
279279
free(dst);
280280
return 0;
281281
}

0 commit comments

Comments
 (0)