Alessandro Comodi
1bd8142625
scripts: use open safe file class
...
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-03-17 10:04:19 +01:00
Alessandro Comodi
5e5217c631
utils: add file locking
...
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2022-03-10 14:05:40 +01:00
Tomasz Michalak
e8311caea2
Add licensing header to python scripts
...
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00
Alessandro Comodi
28a93e08cc
fix pytest
...
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-05-21 16:32:49 +02:00
Tim 'mithro' Ansell
0362854b05
Don't sort the CSV fields.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-02-10 12:04:09 -08:00
Tim 'mithro' Ansell
3c91c98e03
Fix the sorting stage.
...
- Rework how the json files are sorted (numbers are treated as
numerics).
- Sort csv and txt files.
- Sort segbits.*origin_info.db files.
- Sort the grid file.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-02-10 08:12:16 -08:00
Tomasz Michalak
d1ccb55a58
Don't sort db files with fuzzer of origin information
...
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-05-27 08:48:03 +02:00
Tim 'mithro' Ansell
c52e3fd04a
utils: Fix formatting.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-30 17:20:37 +11:00
Tim 'mithro' Ansell
19d5a24e41
utils: Nicer output format.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-30 17:11:54 +11:00
Tim 'mithro' Ansell
44117ebb0d
utils: More aggressive output checking.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-30 17:11:54 +11:00
Tim 'mithro' Ansell
c45213329c
utils: Assert sort stability.
...
Make sure the sort order seems stable.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-30 17:11:54 +11:00
Tim 'mithro' Ansell
8c1fe3f844
utils: Adding tool for sorting the database files.
...
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2019-01-30 17:11:54 +11:00