build: fix distcheck

This commit is contained in:
Christian Hergert
2016-10-11 20:51:41 -07:00
parent 7f4b372b08
commit b10948a51a
4 changed files with 10 additions and 8 deletions

View File

@ -34,6 +34,8 @@ test_reader_basic (void)
writer = sp_capture_writer_new ("capture-file", 0);
g_assert (writer != NULL);
sp_capture_writer_flush (writer);
reader = sp_capture_reader_new ("capture-file", &error);
g_assert_no_error (error);
g_assert (reader != NULL);
@ -50,9 +52,6 @@ test_reader_basic (void)
sp_capture_writer_flush (writer);
/* We should have an old header (without end time) */
g_assert_cmpint (0, ==, sp_capture_reader_get_end_time (reader));
for (i = 0; i < 100; i++)
{
SpCaptureFrameType type = -1;