[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/devil 34db83149e 2/2: Invert grep exit status to determine
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/devil 34db83149e 2/2: Invert grep exit status to determine test status |
Date: |
Tue, 13 Jun 2023 10:00:03 -0400 (EDT) |
branch: elpa/devil
commit 34db83149ef14a1400b1d1334c248abe1cb99855
Author: Susam Pal <susam@susam.net>
Commit: Susam Pal <susam@susam.net>
Invert grep exit status to determine test status
---
Makefile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index e147460842..838b56a3fb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
checks: tests test-sentence-ends
test-sentence-ends:
- grep -n '[^0-9]\. [^ lswxz.,"(]' MANUAL.org; [ $$? = 1 ]
- grep -n '\. [^ a]' README.org CHANGES.org LICENSE.org; [ $$? = 1 ]
- grep -n '\. [^ m]' *.el; [ $$? = 1 ]
- grep -n '[?!] [^ ]' *.org *.el; [ $$? = 1 ]
+ ! grep -n '[^0-9]\. [^ lswxz.,"(]' MANUAL.org
+ ! grep -n '\. [^ a]' README.org CHANGES.org LICENSE.org
+ ! grep -n '\. [^ m]' *.el
+ ! grep -n '[?!] [^ ]' *.org *.el
tests:
emacs --batch -l devil.el -l devil-tests.el -f
ert-run-tests-batch-and-exit