GNOME Bugzilla – Bug 708511
tests: Fix U-Boot test case
Last modified: 2013-09-21 19:47:26 UTC
commit 08b873457 ("deploy: Remove checksum from generated loader entries") changed the generated loader entries file names thus making the U-Boot test case to fail since this test parsed those files. Fix test-admin-deploy-uboot.sh by looking to the updated files names.
Created attachment 255457 [details] [review] [PATCH 1/1] tests: Fix U-Boot test case
Review of attachment 255457 [details] [review]: Oops! But why is it not failing for me? Oh...I see, you didn't add it to Makefile-tests.am. How are you running it? Just by hand? I'll commit this and then add it to the overall tests.
See https://git.gnome.org/browse/ostree/commit/?id=c044cdfb7d11225a120228046ced416ddcaeb4a2 and https://live.gnome.org/GnomeGoals/InstalledTests I run the tests this way: $ gnome-desktop-testing-runner -p 0 ostree/ In the installed tests model, you can run any subset or all of the tests for *all* components at any time, the "ostree/" bit on the end says to just run the tests whose name starts with ostree/.
(In reply to comment #2) > Review of attachment 255457 [details] [review]: > > Oops! But why is it not failing for me? Oh...I see, you didn't add it to > Makefile-tests.am. How are you running it? Just by hand? > Yes, I was just running it manually with: $ ./ostree/tests/test-admin-deploy-uboot.sh > I'll commit this and then add it to the overall tests. Thanks a lot for doing this and sorry that I didn't do myself when adding this test case. I didn't know about neither the GNOME tests infrastructure nor the gnome-desktop-testing runner, thanks for the pointer.