This commit is contained in:
@ -1,7 +1,7 @@
|
||||
# Makefile.in generated by automake 1.17 from Makefile.am.
|
||||
# Makefile.in generated by automake 1.18.1 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994-2024 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1994-2025 Free Software Foundation, Inc.
|
||||
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
@ -405,7 +405,7 @@ am__common_driver_flags = \
|
||||
# To be inserted before the command running the test. Creates the
|
||||
# directory for the log if needed. Stores in $dir the directory
|
||||
# containing $f, in $tst the test, in $log the log. Executes the
|
||||
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
|
||||
# developer-defined test setup AM_TESTS_ENVIRONMENT (if any), and
|
||||
# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
|
||||
# will run the test scripts (or their associated LOG_COMPILER, if
|
||||
# thy have one).
|
||||
@ -1320,6 +1320,7 @@ t-101.log: t-101$(EXEEXT)
|
||||
@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
|
||||
@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_ERR_LOG_DRIVER_FLAGS) $(ERR_LOG_DRIVER_FLAGS) -- $(ERR_LOG_COMPILE) \
|
||||
@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||
|
||||
distdir: $(BUILT_SOURCES)
|
||||
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
||||
|
||||
|
||||
11
t/h-003.hawk
11
t/h-003.hawk
@ -76,13 +76,20 @@ function run_test (x, more_opts, in_name, set_out_name, out_name)
|
||||
}
|
||||
|
||||
function run_github_step_JSON_awk() {
|
||||
@local url, tgt, tgt_hawk;
|
||||
@local url, tgt, tgt_hawk, st;
|
||||
url = "https://raw.githubusercontent.com/step-/JSON.awk/refs/heads/master/JSON.awk";
|
||||
tgt = sprintf("%s.%d", "JSON.awk", sys::getpid());
|
||||
tgt_hawk = sprintf("%s/%s.hawk", TDIR, tgt);
|
||||
|
||||
system(sprintf("curl -k -o %s %s", tgt_hawk, url));
|
||||
run_test(tgt, "", "JSON.awk", 0, "JSON.awk");
|
||||
if (sys::stat(tgt_hawk, st) <= -1)
|
||||
{
|
||||
tap_skip("failed to download " %% url);
|
||||
}
|
||||
else
|
||||
{
|
||||
run_test(tgt, "", "JSON.awk", 0, "JSON.awk");
|
||||
}
|
||||
sys::unlink(tgt_hawk);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user