GNOME Bugzilla – Bug 786264
ingredients test failure
Last modified: 2017-12-06 17:04:53 UTC
gnome-recipes 1.6.2 meson 0.41.2 Ubuntu 17.10 Alpha Build log excerpt ================= [0/1] Running all tests. 1/5 ingredients FAIL 2.27 s 2/5 number OK 0.24 s 3/5 unit OK 0.23 s 4/5 ids OK 0.23 s 5/5 strv OK 0.03 s OK: 4 FAIL: 1 SKIP: 0 TIMEOUT: 0 The output from the failed tests: 1/5 ingredients FAIL 2.27 s --- command --- G_TEST_SRCDIR='/<<PKGBUILDDIR>>/tests' G_TEST_BUILDDIR='/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests' G_DEBUG='gc-friendly' MALLOC_CHECK_='2' MALLOC_PERTURB_='113' /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/ingredients --- stdout --- /ingredients/parse/valid-3.in: OK /ingredients/parse/valid-2.in: --- stderr --- ** org.gnome.Recipes:ERROR:../tests/ingredients-test.c:103:test_parse: assertion failed (string->str == expected): ("AMOUNT 0.500000\nUNIT lb\nNAME Butter\n\nAMOUNT 2.500000\nUNIT (null)\nNAME Egg\n\nAMOUNT 15.000000\nUNIT (null)\nNAME Salt\n\n" == "AMOUNT 0.500000\nUNIT lb\nNAME Butter\n\nAMOUNT 2.500000\nUNIT \nNAME Egg\n\nAMOUNT 15.000000\nUNIT \nNAME Salt\n\n")
This regression appears to have been introduced by https://git.gnome.org/browse/recipes/commit/?id=6387959b In other words, if I start with 1.6.0 and revert that commit, the test passes.
Notice the (null) 's printed in the ERROR.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/recipes/issues/35.