diff options
author | Colin Walters <walters@verbum.org> | 2017-07-20 10:32:44 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-07-21 15:45:27 +0000 |
commit | ed99b4169e06c6a204f92e85b3e323abdb542bbe (patch) | |
tree | 532e452f866b0c9acf24017a683ba895d2233518 /tests/test-sizes.js | |
parent | ef6f6bc688f3381a66e6bcb1fa440d5201537fd1 (diff) | |
download | ostree-ed99b4169e06c6a204f92e85b3e323abdb542bbe.tar.gz |
tests: More fixes for gjs tests
Previous to this commit, the gjs tests were installed-only; and our
logic for handling the "--enable-installed-tests=exclusive" logic
actually also meant they weren't installed.
It did work for me locally with `--enable-installed-tests`.
However, to make things fully symmetric, let's enable the js tests to also be
run under `make check`.
Also remove `corrupt-repo-ref.js` from the PAPR invocation since it's not
actually a unit test, it's a utility helper.
Closes: #1022
Approved by: jlebon
Diffstat (limited to 'tests/test-sizes.js')
-rwxr-xr-x[-rw-r--r--] | tests/test-sizes.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test-sizes.js b/tests/test-sizes.js index 5cf765fc..71e76515 100644..100755 --- a/tests/test-sizes.js +++ b/tests/test-sizes.js @@ -26,6 +26,8 @@ function assertEquals(a, b) { throw new Error("assertion failed " + JSON.stringify(a) + " == " + JSON.stringify(b)); } +print('1..1') + let testDataDir = Gio.File.new_for_path('test-data'); testDataDir.make_directory(null); testDataDir.get_child('some-file').replace_contents("hello world!", null, false, 0, null); @@ -79,4 +81,4 @@ if (expectedUncompressedSizes.length > 0) { throw new Error("Failed to match expectedUncompressedSizes: " + JSON.stringify(expectedUncompressedSizes)); } -print("test-sizes complete"); +print("ok test-sizes"); |