diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-03-04 00:47:20 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-03-05 00:37:57 +0530 |
commit | 1cfa2c3acab25c78264a62309d29cba255feac87 (patch) | |
tree | 7748a556d91ba5897f6c19f9211c70827c16aa0d /mesonbuild/ast | |
parent | 5c14f98239038f3ba6a5a8f32f8c4b9490530dfe (diff) | |
download | meson-1cfa2c3acab25c78264a62309d29cba255feac87.zip meson-1cfa2c3acab25c78264a62309d29cba255feac87.tar.gz meson-1cfa2c3acab25c78264a62309d29cba255feac87.tar.bz2 |
unit tests: Rewrite documentation table parsing code
The old logic was completely broken, and didn't even assert that the
specified section was found at all. The CPU families test was broken
because of this. Luckily, the table didn't go out of sync with the
code.
It now also doesn't assume that each section has only one table. This
fixes the test now that we document the buildtype/optimization/debug
mapping in a second table inside the `Universal options` section.
Diffstat (limited to 'mesonbuild/ast')
0 files changed, 0 insertions, 0 deletions