diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-20 13:10:42 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-06-20 13:10:42 +0200 |
commit | 8dd0d1d048cc7ed073b6eeb5b5cba442142125ad (patch) | |
tree | ec8757d15331e19be435b424d24011b646292586 /tests/testscript | |
parent | c91a6abc0d9c84c94e44a8f64de5485601b970ea (diff) |
Add few basic tests
Diffstat (limited to 'tests/testscript')
-rw-r--r-- | tests/testscript | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/testscript b/tests/testscript new file mode 100644 index 0000000..516aa5b --- /dev/null +++ b/tests/testscript @@ -0,0 +1,22 @@ +# file : tests/testscript +# copyright : Copyright (c) 2009-2018 Code Synthesis Tools CC +# 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). +: +touch empty.hxx; +$* -d sqlite --trace empty.hxx 2>>~/EOE/ != 0 +/.*/* +empty.hxx: error: unable to resolve odb namespace +EOE |