[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/sqlite3 2f6095201b 57/62: Removed #if 0, added tests/Makef
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/sqlite3 2f6095201b 57/62: Removed #if 0, added tests/Makefile |
Date: |
Tue, 14 Mar 2023 11:01:49 -0400 (EDT) |
branch: elpa/sqlite3
commit 2f6095201b1d943d92cc017e100eec571a8d2aab
Author: Peking Duck <pekingduck@users.noreply.github.com>
Commit: Peking Duck <pekingduck@users.noreply.github.com>
Removed #if 0, added tests/Makefile
---
sqlite3-api.c | 21 ---------------------
tests/Makefile | 9 +++++++++
2 files changed, 9 insertions(+), 21 deletions(-)
diff --git a/sqlite3-api.c b/sqlite3-api.c
index 67b474ef8e..5263b48d21 100644
--- a/sqlite3-api.c
+++ b/sqlite3-api.c
@@ -809,22 +809,6 @@ static emacs_value sqlite3_api_set_log_level(
return NIL(env);
}
-#if 0
-static emacs_value sqlite3_api_test(
- emacs_env *env,
- ptrdiff_t n,
- emacs_value *args,
- void *ptr) {
- (void)ptr;
- (void)n;
-
- emacs_value *fargs = malloc(sizeof(emacs_value)*2);
- fargs[0] = MAKE_INT(env, 1);
- fargs[1] = MAKE_INT(env, 99);
- return env->funcall(env, args[0], 2, fargs);
-}
-#endif
-
static emacs_value sqlite3_api_open(
emacs_env *env,
ptrdiff_t n,
@@ -922,11 +906,6 @@ int emacs_module_init(struct emacs_runtime *ert) {
"Reset a prepared SQL statement." },
{ "sqlite3-last-insert-rowid", 1, 1, sqlite3_api_last_insert_rowid,
"Return last insert rowid." },
-#if 0
- { "sqlite3-set-last-insert-rowid", 2, 2,
- sqlite3_api_set_last_insert_rowid,
- "Set last insert rowid." },
-#endif
{ "sqlite3-get-autocommit", 1, 1, sqlite3_api_get_autocommit,
"Test for auto-commit mode." },
{ "sqlite3-exec", 2, 3, sqlite3_api_exec,
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000000..5310e4faa9
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,9 @@
+EMACS281=$(HOME)/Emacs/dists/28.1/bin/emacs
+EMACS272=$(HOME)/Emacs/dists/27.2/bin/emacs
+
+test:
+ $(EMACS281) -batch -Q -L .. -l regression.el
+ $(EMACS272) -batch -Q -L .. -l regression.el
+
+#test-consts:
+# $(EMACS) -l tests/consts.el
- [nongnu] elpa/sqlite3 b619a38eb5 25/62: fixed typos, (continued)
- [nongnu] elpa/sqlite3 b619a38eb5 25/62: fixed typos, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 781f915cd4 31/62: added sqlite3-fetch_alist, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 f702217d7b 32/62: Removed gcc warnings, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 e0943d0f90 39/62: Let users override make variables if necessary, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 e5b14b0318 46/62: Bump version to 0.14, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 d03bda0360 47/62: replaced == with eq in type predicates, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 75d89d64e6 49/62: Typo?, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 1caff0e721 52/62: Merge branch 'master' of github.com:pekingduck/emacs-sqlite3-api, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 68eda59d5f 55/62: Bumped version to 0.16, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 91859c8766 56/62: Code cleanup, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 2f6095201b 57/62: Removed #if 0, added tests/Makefile,
ELPA Syncer <=
- [nongnu] elpa/sqlite3 bcb3b0163b 58/62: Fix build with Cygwin and MSYS2, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 108521be02 59/62: Merge pull request #5 from yasuhirokimura/fix_build_with_cygwin_and_msys2, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 ad6dc366b7 60/62: Added contributors, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 50b814063b 62/62: Merge pull request #6 from emacsmirror/noninteractive, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 5218e49511 41/62: Merge pull request #2 from tarsiiformes/melpa, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 94108288e4 08/62: fixed README, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 a4832b01c3 14/62: improved commentary, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 89512b336a 23/62: removed package-install.el & install.el, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 0d4ca93830 33/62: Removed gcc warnings, ELPA Syncer, 2023/03/14
- [nongnu] elpa/sqlite3 800a4fc494 40/62: Add sqlite3.el to make installable from Melpa, ELPA Syncer, 2023/03/14