1. 28 Aug, 2018 1 commit
  2. 24 Aug, 2018 2 commits
    • Ludovico de Nittis's avatar
      tests: free TzInfo · b8972e88
      Ludovico de Nittis authored
      The timezone information is allocated with `tz_info_from_location` but
      never deallocated.
      LeakSanitizer complains about this memory leak.
      
      ```
      Direct leak of 13568 byte(s) in 424 object(s) allocated from:
      /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:95
          #1 0x7f63899bab21 in g_malloc0 (/usr/lib/libglib-2.0.so.0+0x51b21)
      ../tests/datetime/test-timezone-gfx.c:30
          #3 0x7f63899dc76a  (/usr/lib/libglib-2.0.so.0+0x7376a)
      ```
      b8972e88
    • Ludovico de Nittis's avatar
      tests: close opened directory · 2b14ccdf
      Ludovico de Nittis authored
      The directory opened with `g_dir_open` is never closed, so LeakSanitizer
      complains about a memory leaks.
      
      ```
      Direct leak of 8 byte(s) in 1 object(s) allocated from:
      /build/gcc/src/gcc/libsanitizer/asan/asan_malloc_linux.cc:86
          #1 0x7f2012908ac9 in g_malloc (/usr/lib/libglib-2.0.so.0+0x51ac9)
          #2 0x7f2012922aac in g_memdup (/usr/lib/libglib-2.0.so.0+0x6baac)
          #3 0x7f20128ed2d5  (/usr/lib/libglib-2.0.so.0+0x362d5)
          #4 0x7f20128ed338 in g_dir_open (/usr/lib/libglib-2.0.so.0+0x36338)
      ../tests/datetime/test-endianess.c:29
          #6 0x7f201292a76a  (/usr/lib/libglib-2.0.so.0+0x7376a)
          #7 0x7f201292a69a  (/usr/lib/libglib-2.0.so.0+0x7369a)
      (/usr/lib/libglib-2.0.so.0+0x73951)
          #9 0x7f201292a972 in g_test_run (/usr/lib/libglib-2.0.so.0+0x73972)
          #10 0x560ad630cbff in main ../tests/datetime/test-endianess.c:66
      ```
      2b14ccdf
  3. 13 Aug, 2018 1 commit
    • Ting-Wei Lan's avatar
      tests: Don't hard-code the path to python · 9df14924
      Ting-Wei Lan authored
      Python isn't always installed in /usr/bin. If we hard-code the path,
      these tests will fail on *BSD because they install python in different
      prefixes such as /usr/local and /usr/pkg.
      9df14924
  4. 15 Jul, 2018 1 commit
  5. 07 Jun, 2018 1 commit
  6. 29 May, 2018 13 commits
  7. 16 May, 2018 1 commit
  8. 14 May, 2018 1 commit
  9. 12 May, 2018 1 commit
  10. 09 May, 2018 4 commits
  11. 03 May, 2018 1 commit
  12. 02 May, 2018 6 commits
  13. 17 Apr, 2018 4 commits