diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-22 15:58:08 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-01-24 17:02:47 +0300 |
commit | 823026b58211a4166de06ac243d978dcb9930271 (patch) | |
tree | 97b43039cb769f8bee410e8536f9f945f2825153 /odb/tests/testscript | |
parent | b56b9c6796d8853758f0f5967488260d61b788e2 (diff) |
Turn odb repository into muti-package repository
Also remove the autoconf/make-based build system.
Diffstat (limited to 'odb/tests/testscript')
-rw-r--r-- | odb/tests/testscript | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/odb/tests/testscript b/odb/tests/testscript new file mode 100644 index 0000000..5448eca --- /dev/null +++ b/odb/tests/testscript @@ -0,0 +1,21 @@ +# file : tests/testscript +# license : GNU GPL v3; see accompanying LICENSE file + +: version +: +$* --version >>~/EOO/ +/ODB object-relational mapping \(ORM\) compiler for C\+\+ .+/ +/.*/* +EOO + +: plugin +: +: To actually compile anything we need libodb. However, we can smoke-test the +: plugin loading and invocation using the --trace option that suppresses the +: standard prologue/epilogue (which includes the libodb headers). +: +cat <'// dummy' >=dummy.hxx; +$* -d sqlite --trace dummy.hxx 2>>~/EOE/ != 0 +/.*/* +dummy.hxx: error: unable to resolve odb namespace +EOE |