From 809bd5aa34727151bdf40230e2fbc3151760466b Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Mon, 4 Nov 2019 23:06:54 +0100 Subject: [PATCH] test provide --- test/src/comp-test-funcs.el | 2 ++ test/src/comp-tests.el | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/test/src/comp-test-funcs.el b/test/src/comp-test-funcs.el index 66ce0e70e8d..79a25511fad 100644 --- a/test/src/comp-test-funcs.el +++ b/test/src/comp-test-funcs.el @@ -365,4 +365,6 @@ (?< 1) (?> 2)))) +(provide 'comp-test-funcs) + ;;; comp-test-funcs.el ends here diff --git a/test/src/comp-tests.el b/test/src/comp-tests.el index 06a1ae90542..6eada52541f 100644 --- a/test/src/comp-tests.el +++ b/test/src/comp-tests.el @@ -36,8 +36,11 @@ "comp-test-funcs.el")) (message "Compiling %s" comp-test-src) -(native-compile comp-test-src) -(load (concat comp-test-src "n")) +(load (native-compile comp-test-src)) + +(ert-deftest comp-tests-provide () + "Testing top level provide." + (should (featurep 'comp-test-funcs))) (ert-deftest comp-tests-varref () "Testing varref." -- 2.39.5