Commit Graph

17 Commits (d592cc30507e8ec195f501b4fd9a35fb470527a7)

Author SHA1 Message Date
Salvo 'LtWorf' Tomaselli c4bc74d612
Add a new json format 2020-08-24 18:02:11 +07:00
Salvo 'LtWorf' Tomaselli 87ec732d24
Use the new API 2020-08-13 14:34:57 +07:00
Salvo 'LtWorf' Tomaselli 456a89be93
Remove backwards compatibility 2020-08-13 10:20:29 +07:00
Salvo 'LtWorf' Tomaselli fa08e007db
moved tests directory 2017-06-24 11:35:46 +07:00
Salvo 'LtWorf' Tomaselli c4da4bdcb6
Use with block to open file 2017-06-24 10:10:52 +07:00
Salvo 'LtWorf' Tomaselli 6fe70e12fe Some failures were crashing the test driver
Some tests are meant to fail, however some failures were actually
crashing the test driver.

This fixes the issue.
2016-04-18 16:28:56 +07:00
Salvo 'LtWorf' Tomaselli 2f12a0e89d Add possibility to test queries that are supposed to fail
This is supposed to be used for all malformed queries and all the ones
that are invalid for incompatibility reason, and make sure that they
actually fail.
2016-04-15 14:36:51 +07:00
Salvo 'LtWorf' Tomaselli 72318bb0e8 Updated copyright notices
With the last year of modification of the file in question.
2016-03-31 21:45:59 +07:00
Salvo 'LtWorf' Tomaselli eadcca6da7 Print traceback in case of exception
The text of the exception is pretty much useless alone,
this makes it print the entire traceback.
2016-01-03 10:03:07 +07:00
Salvo 'LtWorf' Tomaselli 5073567757 Change how python tests are executed
Require them to have assert rather than testing the
result variables set.

This makes for way simpler code.

Now also prints stacktrace to know where the problem occurred.
2015-11-18 12:05:56 +07:00
Salvo 'LtWorf' Tomaselli 73dd14d9dd Style 2015-07-14 11:01:35 +07:00
Salvo 'LtWorf' Tomaselli a655e81b28 Remove useless comments 2015-07-14 01:18:54 +07:00
Salvo 'LtWorf' Tomaselli 0385478f91 Set encoding in test driver
Python3 handles encoding differently, and files are loaded
according to the locale set on the system.

This means that when building on a locale-less chroot,
the tests will always fail because it will try to load utf-8
and encode it as ASCII.

This forces the encoding. The tests are encoded in utf-8 anyway
so any other encoding set by the locale would cause a failure.
2015-06-13 17:24:38 +07:00
Salvo 'LtWorf' Tomaselli a355762fc4 Switch core module to Python3
The core module (the relational algebra, not the interface) is now
using Python3

Tests are passing, so it should be ok.
2015-02-19 12:42:41 +07:00
Salvo 'LtWorf' Tomaselli 556eecc118 Changed about and README to not point to galileo anymore 2013-12-27 00:31:43 +07:00
Salvo 'LtWorf' Tomaselli b41ed96ff0 - driver only use xtermcolor
- Driver exits with 1 if a test fails
2013-02-21 17:22:56 +07:00
Salvo 'LtWorf' Tomaselli 2e0cbf94a7 - Can convert the expressions into python code objects as well
- Can test that the code objects work as expected too.
2013-02-10 14:11:26 +07:00