summaryrefslogtreecommitdiff
path: root/tests/basic.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2021-02-08 15:33:06 +0100
committerWerner Koch <wk@gnupg.org>2021-02-08 15:33:06 +0100
commit82395f11b444651f544f5e51c62fc6b65c04f9ef (patch)
treee699cc355761c2c29ec635c4f1987101fde3804e /tests/basic.c
parentebc4d5670a1ada54ad907a4836eb8f6f573c2c38 (diff)
downloadlibgcrypt-82395f11b444651f544f5e51c62fc6b65c04f9ef.tar.gz
tests: Fix minor glitches.
* tests/basic.c (ALWAYS_INLINE): Make sure it is defined. * tests/version.c (main): Print the config info to stdout. -- We need to have the config output at stdout so that the testdrv is able to show or suppress it. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tests/basic.c')
-rw-r--r--tests/basic.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/basic.c b/tests/basic.c
index b4757d9c..2b543846 100644
--- a/tests/basic.c
+++ b/tests/basic.c
@@ -35,6 +35,8 @@
#if __GNUC__ >= 4
# define ALWAYS_INLINE __attribute__((always_inline))
+#else
+# define ALWAYS_INLINE
#endif
typedef struct test_spec_pubkey_key