Skip to content

Commit

Permalink
Merge branch 'HDFGroup:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee authored Feb 1, 2025
2 parents ce36a12 + fba198e commit 9bba0c5
Show file tree
Hide file tree
Showing 14 changed files with 173 additions and 113 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/abi-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
- name: Run Java API report
run: |
japi-compliance-checker ${{ steps.set-hdf5lib-refname.outputs.HDF5R_ROOT }}/lib/jarhdf5-${{ steps.convert-hdf5lib-refname.outputs.HDF5R_DOTSMAIN }}.jar ${{ steps.set-hdf5lib-name.outputs.HDF5_ROOT }}/lib/jarhdf5-${{ steps.set-hdf5lib-name.outputs.HDF5_VERS }}.jar
continue-on-error: true

- name: Run ABI report
run: |
Expand Down Expand Up @@ -155,8 +156,9 @@ jobs:
cp compat_reports/${{ inputs.file_base }}_hl/X_to_Y/compat_report.html ${{ inputs.file_base }}-hdf5_hl_compat_report.html
ls -l compat_reports/${{ inputs.file_base }}_cpp/X_to_Y
cp compat_reports/${{ inputs.file_base }}_cpp/X_to_Y/compat_report.html ${{ inputs.file_base }}-hdf5_cpp_compat_report.html
# ls -l compat_reports/${{ inputs.file_base }}_hl_cpp/X_to_Y
# cp compat_reports/${{ inputs.file_base }}_hl_cpp/X_to_Y/compat_report.html ${{ inputs.file_base }}-hdf5_hl_cpp_compat_report.html
ls -l compat_reports/${{ inputs.file_base }}_hl_cpp/X_to_Y
cp compat_reports/${{ inputs.file_base }}_hl_cpp/X_to_Y/compat_report.html ${{ inputs.file_base }}-hdf5_hl_cpp_compat_report.html
continue-on-error: true

- name: List files for the report spaces (Linux)
run: |
Expand Down
12 changes: 6 additions & 6 deletions test/btree2.c
Original file line number Diff line number Diff line change
Expand Up @@ -9928,10 +9928,10 @@ main(void)
localTestExpress = h5_get_testexpress();

/* For the Direct I/O driver, skip intensive tests due to poor performance */
if (localTestExpress < 2 && !strcmp(driver_name, "direct"))
localTestExpress = 2;
if (localTestExpress < H5_TEST_EXPRESS_QUICK && !strcmp(driver_name, "direct"))
localTestExpress = H5_TEST_EXPRESS_QUICK;

if (localTestExpress > 0)
if (localTestExpress > H5_TEST_EXPRESS_EXHAUSTIVE)
printf("***Express test mode %d. Some tests may be skipped\n", localTestExpress);

/* Initialize v2 B-tree creation parameters */
Expand Down Expand Up @@ -9968,7 +9968,7 @@ main(void)
nerrors += test_insert_level2_2internal_split(fapl, &cparam, &tparam);
nerrors += test_insert_level2_3internal_redistrib(fapl, &cparam, &tparam);
nerrors += test_insert_level2_3internal_split(fapl, &cparam, &tparam);
if (localTestExpress > 1)
if (localTestExpress > H5_TEST_EXPRESS_FULL)
printf("***Express test mode on. test_insert_lots skipped\n");
else
nerrors += test_insert_lots(fapl, &cparam, &tparam);
Expand All @@ -9982,7 +9982,7 @@ main(void)
nerrors += test_update_level1_3leaf_redistrib(fapl, &cparam2, &tparam);
nerrors += test_update_level1_middle_split(fapl, &cparam2, &tparam);
nerrors += test_update_make_level2(fapl, &cparam2, &tparam);
if (localTestExpress > 1)
if (localTestExpress > H5_TEST_EXPRESS_FULL)
printf("***Express test mode on. test_update_lots skipped\n");
else
nerrors += test_update_lots(fapl, &cparam2, &tparam);
Expand All @@ -10009,7 +10009,7 @@ main(void)
nerrors += test_remove_level2_2internal_merge_right(fapl, &cparam, &tparam);
nerrors += test_remove_level2_3internal_merge(fapl, &cparam, &tparam);
nerrors += test_remove_level2_collapse_right(fapl, &cparam, &tparam);
if (localTestExpress > 1)
if (localTestExpress > H5_TEST_EXPRESS_FULL)
printf("***Express test mode on. test_remove_lots skipped\n");
else
nerrors += test_remove_lots(driver_name, fapl, &cparam);
Expand Down
88 changes: 44 additions & 44 deletions test/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,22 +262,22 @@ smoke_check_1(int express_test, unsigned paged)
else
TESTING("smoke check #1 -- all clean, ins, dest, ren, 4/2 MB cache");

if (paged && (express_test > 0)) {
if (paged && (express_test > H5_TEST_EXPRESS_EXHAUSTIVE)) {

SKIPPED();
return (0);
}

switch (express_test) {
case 0:
case H5_TEST_EXPRESS_EXHAUSTIVE:
max_index = (10 * 1024) - 1;
break;

case 1:
case H5_TEST_EXPRESS_FULL:
max_index = (1 * 1024) - 1;
break;

case 2:
case H5_TEST_EXPRESS_QUICK:
max_index = (512) - 1;
break;

Expand Down Expand Up @@ -457,22 +457,22 @@ smoke_check_2(int express_test, unsigned paged)
else
TESTING("smoke check #2 -- ~1/2 dirty, ins, dest, ren, 4/2 MB cache");

if (paged && (express_test > 0)) {
if (paged && (express_test > H5_TEST_EXPRESS_EXHAUSTIVE)) {

SKIPPED();
return (0);
}

switch (express_test) {
case 0:
case H5_TEST_EXPRESS_EXHAUSTIVE:
max_index = (10 * 1024) - 1;
break;

case 1:
case H5_TEST_EXPRESS_FULL:
max_index = (1 * 1024) - 1;
break;

case 2:
case H5_TEST_EXPRESS_QUICK:
max_index = (512) - 1;
break;

Expand Down Expand Up @@ -651,22 +651,22 @@ smoke_check_3(int express_test, unsigned paged)
else
TESTING("smoke check #3 -- all clean, ins, dest, ren, 2/1 KB cache");

if (paged && (express_test > 0)) {
if (paged && (express_test > H5_TEST_EXPRESS_EXHAUSTIVE)) {

SKIPPED();
return (0);
}

switch (express_test) {
case 0:
case H5_TEST_EXPRESS_EXHAUSTIVE:
max_index = (10 * 1024) - 1;
break;

case 1:
case H5_TEST_EXPRESS_FULL:
max_index = (1 * 1024) - 1;
break;

case 2:
case H5_TEST_EXPRESS_QUICK:
max_index = (512) - 1;
break;

Expand Down Expand Up @@ -846,22 +846,22 @@ smoke_check_4(int express_test, unsigned paged)
else
TESTING("smoke check #4 -- ~1/2 dirty, ins, dest, ren, 2/1 KB cache");

if (paged && (express_test > 0)) {
if (paged && (express_test > H5_TEST_EXPRESS_EXHAUSTIVE)) {

SKIPPED();
return (0);
}

switch (express_test) {
case 0:
case H5_TEST_EXPRESS_EXHAUSTIVE:
max_index = (10 * 1024) - 1;
break;

case 1:
case H5_TEST_EXPRESS_FULL:
max_index = (1 * 1024) - 1;
break;

case 2:
case H5_TEST_EXPRESS_QUICK:
max_index = (512) - 1;
break;

Expand Down Expand Up @@ -1081,22 +1081,22 @@ smoke_check_5(int express_test, unsigned paged)
else
TESTING("smoke check #5 -- all clean, ins, prot, unprot, AR cache 1");

if (paged && (express_test > 0)) {
if (paged && (express_test > H5_TEST_EXPRESS_EXHAUSTIVE)) {

SKIPPED();
return (0);
}

switch (express_test) {
case 0:
case H5_TEST_EXPRESS_EXHAUSTIVE:
max_index = (10 * 1024) - 1;
break;

case 1:
case H5_TEST_EXPRESS_FULL:
max_index = (1 * 1024) - 1;
break;

case 2:
case H5_TEST_EXPRESS_QUICK:
max_index = (512) - 1;
break;

Expand Down Expand Up @@ -1305,7 +1305,7 @@ smoke_check_6(int express_test, unsigned paged)
else
TESTING("smoke check #6 -- ~1/2 dirty, ins, prot, unprot, AR cache 1");

if (paged && (express_test > 0)) {
if (paged && (express_test > H5_TEST_EXPRESS_EXHAUSTIVE)) {

SKIPPED();
return (0);
Expand All @@ -1314,15 +1314,15 @@ smoke_check_6(int express_test, unsigned paged)
pass = true;

switch (express_test) {
case 0:
case H5_TEST_EXPRESS_EXHAUSTIVE:
max_index = (10 * 1024) - 1;
break;

case 1:
case H5_TEST_EXPRESS_FULL:
max_index = (1 * 1024) - 1;
break;

case 2:
case H5_TEST_EXPRESS_QUICK:
max_index = (512) - 1;
break;

Expand Down Expand Up @@ -1530,22 +1530,22 @@ smoke_check_7(int express_test, unsigned paged)
else
TESTING("smoke check #7 -- all clean, ins, prot, unprot, AR cache 2");

if (paged && (express_test > 0)) {
if (paged && (express_test > H5_TEST_EXPRESS_EXHAUSTIVE)) {

SKIPPED();
return (0);
}

switch (express_test) {
case 0:
case H5_TEST_EXPRESS_EXHAUSTIVE:
max_index = (10 * 1024) - 1;
break;

case 1:
case H5_TEST_EXPRESS_FULL:
max_index = (1 * 1024) - 1;
break;

case 2:
case H5_TEST_EXPRESS_QUICK:
max_index = (512) - 1;
break;

Expand Down Expand Up @@ -1755,22 +1755,22 @@ smoke_check_8(int express_test, unsigned paged)
else
TESTING("smoke check #8 -- ~1/2 dirty, ins, prot, unprot, AR cache 2");

if (paged && (express_test > 0)) {
if (paged && (express_test > H5_TEST_EXPRESS_EXHAUSTIVE)) {

SKIPPED();
return (0);
}

switch (express_test) {
case 0:
case H5_TEST_EXPRESS_EXHAUSTIVE:
max_index = (10 * 1024) - 1;
break;

case 1:
case H5_TEST_EXPRESS_FULL:
max_index = (1 * 1024) - 1;
break;

case 2:
case H5_TEST_EXPRESS_QUICK:
max_index = (512) - 1;
break;

Expand Down Expand Up @@ -1945,22 +1945,22 @@ smoke_check_9(int express_test, unsigned paged)
else
TESTING("smoke check #9 -- all clean, ins, dest, ren, 4/2 MB, corked");

if (paged && (express_test > 0)) {
if (paged && (express_test > H5_TEST_EXPRESS_EXHAUSTIVE)) {

SKIPPED();
return (0);
}

switch (express_test) {
case 0:
case H5_TEST_EXPRESS_EXHAUSTIVE:
max_index = (10 * 1024) - 1;
break;

case 1:
case H5_TEST_EXPRESS_FULL:
max_index = (1 * 1024) - 1;
break;

case 2:
case H5_TEST_EXPRESS_QUICK:
max_index = (512) - 1;
break;

Expand Down Expand Up @@ -2249,22 +2249,22 @@ smoke_check_10(int express_test, unsigned paged)
else
TESTING("smoke check #10 -- ~1/2 dirty, ins, dest, ren, 4/2 MB, corked");

if (paged && (express_test > 0)) {
if (paged && (express_test > H5_TEST_EXPRESS_EXHAUSTIVE)) {

SKIPPED();
return (0);
}

switch (express_test) {
case 0:
case H5_TEST_EXPRESS_EXHAUSTIVE:
max_index = (10 * 1024) - 1;
break;

case 1:
case H5_TEST_EXPRESS_FULL:
max_index = (1 * 1024) - 1;
break;

case 2:
case H5_TEST_EXPRESS_QUICK:
max_index = (512) - 1;
break;

Expand Down Expand Up @@ -2554,15 +2554,15 @@ write_permitted_check(int
#if H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS

switch (express_test) {
case 0:
case H5_TEST_EXPRESS_EXHAUSTIVE:
max_index = (10 * 1024) - 1;
break;

case 1:
case H5_TEST_EXPRESS_FULL:
max_index = (1 * 1024) - 1;
break;

case 2:
case H5_TEST_EXPRESS_QUICK:
max_index = (512) - 1;
break;

Expand Down Expand Up @@ -32427,7 +32427,7 @@ main(void)

fprintf(stdout, "\n\nRe-running tests with paged aggregation:\n");

if (express_test > 0)
if (express_test > H5_TEST_EXPRESS_EXHAUSTIVE)
fprintf(stdout, " Skipping smoke checks.\n");

fprintf(stdout, "\n");
Expand Down
2 changes: 1 addition & 1 deletion test/cache_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ mdc_api_call_smoke_check(int express_test, unsigned paged, hid_t fcpl_id)

pass = true;

if (express_test > 0) {
if (express_test > H5_TEST_EXPRESS_EXHAUSTIVE) {

SKIPPED();

Expand Down
Loading

0 comments on commit 9bba0c5

Please sign in to comment.