artiq/artiq/test
David Nadlinger 81d2b37b57 compiler: Fix crash on multiple types with the same name
The original fix in 21574bdfa9
was incomplete, as it only addressed the TInstance types, but
not their linked (typ.constructor) TConstructor instances.

This would (potentially among other issues) cause assertion
errors in llvm_ir_generator due to the wrong associated globals
being referenced; see added test case for an example that
previously caused such a crash.

Also modified the name collision detection from O(len(type_map))
(so quadratic overall in the number of custom types) to cache
names in sets for O(1) lookup.
2023-09-27 10:28:03 +08:00
..
compiler assume 'import artiq' works before running tests 2016-02-02 21:52:33 +01:00
coredevice Revert "compiler: Fix #1871 (array() breaks math functions)" 2022-04-23 19:06:30 +08:00
libartiq_support compiler: remove obsolete watchdog code (#1458) 2020-12-08 13:25:08 +08:00
lit compiler: Fix crash on multiple types with the same name 2023-09-27 10:28:03 +08:00
__init__.py setup: install frontend tools, remove nosetest dependency, minor fixes 2014-12-10 12:13:10 +08:00
hardware_testbench.py use sipyco (#585) 2019-11-10 15:55:17 +08:00
test_arguments.py language/environment: cast argument processor default values early 2020-04-04 15:37:04 +08:00
test_coefficients.py wavesynth: cleanup 2016-02-18 14:13:40 +01:00
test_datasets.py use sipyco (#585) 2019-11-10 15:55:17 +08:00
test_frontends.py test: stop checking for artiq_netboot 2020-10-15 16:18:56 +08:00
test_h5types.py worker: trust that h5py maps all types as we want 2016-04-05 17:18:15 +08:00
test_scheduler.py master/scheduler: Fix priority/due date precedence order when waiting to prepare 2020-06-19 23:45:52 +01:00
test_tools.py test: add unit tests for tools.file_import and tools.get_experiment 2021-02-13 10:06:12 +08:00
test_wavesynth.py test_wavesynth: use matplotlib 2016-04-07 21:36:30 +08:00
test_worker.py Fix 3313e997. 2018-01-17 11:31:32 +00:00