summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/warn-lambda-malformed-interactive-spec.el
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2022-11-02 03:52:16 +0200
committerBasil L. Contovounesios <contovob@tcd.ie>2022-11-04 13:38:02 +0200
commitfd3f51b7c3a6649ee3db12d33b056b1afdbfa7e9 (patch)
treea71040416668b74469af493d3f9a741e975d1202 /test/lisp/emacs-lisp/bytecomp-resources/warn-lambda-malformed-interactive-spec.el
parent01471b5fdff21fcb23b7718d9cd99bf5c08645ba (diff)
downloademacs-fd3f51b7c3a6649ee3db12d33b056b1afdbfa7e9.tar.gz
emacs-fd3f51b7c3a6649ee3db12d33b056b1afdbfa7e9.tar.bz2
emacs-fd3f51b7c3a6649ee3db12d33b056b1afdbfa7e9.zip
Fix manual noverlay tests
* test/manual/noverlay/Makefile.in: Add copyright notice. (LIBS): Rename... (PACKAGES): ...to this, to avoid confusion with Autoconf's LIBS. All uses changed. (CFLAGS): Break out -I flag... (CPPFLAGS): ...into this new variable. (LDFLAGS): Rename... (LDLIBS): ...to this, which is expected to hold -l flags. (top_builddir): New variable. (EMACS): Define in terms of it. (.PHONY): Add clean, distclean, and perf targets. (have-libcheck): Remove redundant target. All uses updated. (itree-tests.o): Remove redundant dependency on its source file. (itree-tests): Remove redundant (and uncompilable) rule. * test/manual/noverlay/check-sanitize.sh: Use /usr/bin/env. Add copyright notice. Enable pipefail option, to propagate itree-tests exit status to caller. Fix typo in usage message. Strip less information from Check's error messages. * test/manual/noverlay/emacs-compat.h: Add copyright notice. Include stdlib.h. (emacs_abort, eassert): Consistently use EXIT_FAILURE. (eassume): Define when necessary. * test/manual/noverlay/itree-tests.c: Add copyright notice. Include standard headers before third-party ones. Use most narrowly applicable ck_assert* macro for the types being checked, e.g. ck_assert_ptr_* macros for pointer values. Replace removed names and APIs with current ones, e.g. the itree_node field 'color' is now called 'red'. Ensure preconditions of itree API are satisfied before use, e.g. itree_node otick being set appropriately before insertion, or global iterator being initialized before (implicit) use (bug#58976). Make all functions static. (DEF_TEST_SETUP): Remove all instances, replacing with... (test_insert1_setup, test_insert2_setup, test_remove1_setup) (test_remove2_setup): ...these new test fixtures. (A, B, C, D, E, N_05, N_10, N_15, N_20, N_30, N_40, N_50, N_70) (N_80, N_90, N_85, N_95): Define as static variables rather than macros. (test_get_tree4): Remove, inlining salient parts. (shuffle): Move closer to users. (test_create_tree): Accept itree_nodes as argument instead of dynamically allocating them. All callers changed. (FOREACH): Remove unused macro. (N_BEG, N_END): Define in terms of itree_node_begin and itree_node_end, respectively. (test_gap_insert_1, test_gap_insert_2, test_gap_insert_3) (test_gap_insert_5, test_gap_insert_7, test_gap_insert_11): Use test_setup_gap_node_noadvance. (basic_suite): Group unit tests into test cases and fixtures. Run previously forgotten test_insert_14. (main): Run suite as CK_ENV to allow specifying desired verbosity in the environment.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-lambda-malformed-interactive-spec.el')
0 files changed, 0 insertions, 0 deletions