Skip to content

Commit

Permalink
Add for NIST tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lefessan committed Feb 5, 2023
1 parent e8b9748 commit cac0406
Show file tree
Hide file tree
Showing 14 changed files with 905 additions and 3,720 deletions.
16 changes: 1 addition & 15 deletions .autofonce
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,7 @@ env = "testsuite"
[envs]
# env_name = """..."""
# env_name = "<local-path-to-env-file"
testsuite = """# look at 'build_anchors' to see how the build dir is detected among upper dirs
testsuite = "<tests/autofonce.env"

abs_builddir=${AUTOFONCE_BUILD_DIR}/tests

# these files are generated during configure or first `make check`

. ${abs_builddir}/atconfig
. ${abs_builddir}/atlocal

# the following flags are needed for the NIST testsuite

if test "x$AUTOFONCE_TESTSUITE" = "xnist"; then
export COB_DISABLE_WARNINGS=Y
export COB_SWITCH_1=ON
export COB_SWITCH_2=OFF
fi
"""

15 changes: 15 additions & 0 deletions tests/autofonce.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
abs_builddir=${AUTOFONCE_BUILD_DIR}/tests

# these files are generated during configure or first `make check`

. ${abs_builddir}/atconfig
. ${abs_builddir}/atlocal

# the following flags are needed for the NIST testsuite

if test "x$AUTOFONCE_TESTSUITE" = "xnist"; then
export COB_DISABLE_WARNINGS=Y
export COB_SWITCH_1=ON
export COB_SWITCH_2=OFF
export COMPILE85="$COMPILE -std=cobol85 -Wno-goto-different-section -Wno-goto-section -I copy"
fi
168 changes: 25 additions & 143 deletions tests/cobol85/nistrun.src/run_DB.at

Large diffs are not rendered by default.

Loading

0 comments on commit cac0406

Please sign in to comment.