Skip to content

Commit

Permalink
raw ld option
Browse files Browse the repository at this point in the history
  • Loading branch information
junjiemars committed May 4, 2024
1 parent 1d24515 commit bf42fc5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,13 @@ test_nore_override_option () {
test_make clean test
}

test_nore_auto_check () {
local a="auto"
sed -e 's/^#//g' "${_ROOT_DIR_}/auto/check" > "${a}"
test_what "CC=$CC ./configure #auto"
test_configure
}

test_nore_ld_option () {
local c="`basename $_CI_DIR_`.c"
local m="Makefile"
Expand All @@ -317,20 +324,13 @@ ci_test: ci
\$(LD) \$(nm_ld_out_opt) \$@ \$^ \$(nm_ld_lib_opt)c
\$(ci_objout): \$(ci_root)/ci.c
\$(CC) \$(CFLAGS) \$(INC) \$(obj_out)\$@ \$(nm_stage_c) \$^
\$(CC) \$(INC) \$(obj_out) \$@ \$(nm_stage_c) \$^
END
test_what "CC=$CC ./configure #ld"
test_configure
test_configure --with-std=no
test_make clean test
}

test_nore_auto_check () {
local a="auto"
sed -e 's/^#//g' "${_ROOT_DIR_}/auto/check" > "${a}"
test_what "CC=$CC ./configure #auto"
test_configure
}

# test
if [ -n "$_INSIDE_CI_" ]; then
test_install_from_github
Expand Down

0 comments on commit bf42fc5

Please sign in to comment.