diff options
| author | Andrea Corallo | 2019-11-04 23:06:54 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-01-01 11:38:01 +0100 |
| commit | 809bd5aa34727151bdf40230e2fbc3151760466b (patch) | |
| tree | e65bf2c7025c4e450b491a4d2d219e9eeabd2018 /test/src | |
| parent | a2ed435e3aa18c0e6d4997cbb9a81426c952a622 (diff) | |
| download | emacs-809bd5aa34727151bdf40230e2fbc3151760466b.tar.gz emacs-809bd5aa34727151bdf40230e2fbc3151760466b.zip | |
test provide
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/comp-test-funcs.el | 2 | ||||
| -rw-r--r-- | 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 @@ | |||
| 365 | (?< 1) | 365 | (?< 1) |
| 366 | (?> 2)))) | 366 | (?> 2)))) |
| 367 | 367 | ||
| 368 | (provide 'comp-test-funcs) | ||
| 369 | |||
| 368 | ;;; comp-test-funcs.el ends here | 370 | ;;; 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 @@ | |||
| 36 | "comp-test-funcs.el")) | 36 | "comp-test-funcs.el")) |
| 37 | 37 | ||
| 38 | (message "Compiling %s" comp-test-src) | 38 | (message "Compiling %s" comp-test-src) |
| 39 | (native-compile comp-test-src) | 39 | (load (native-compile comp-test-src)) |
| 40 | (load (concat comp-test-src "n")) | 40 | |
| 41 | (ert-deftest comp-tests-provide () | ||
| 42 | "Testing top level provide." | ||
| 43 | (should (featurep 'comp-test-funcs))) | ||
| 41 | 44 | ||
| 42 | (ert-deftest comp-tests-varref () | 45 | (ert-deftest comp-tests-varref () |
| 43 | "Testing varref." | 46 | "Testing varref." |