Skip to content
Snippets Groups Projects
Select Git revision
  • 408a93a2bb4f276f28059b51fbe0bbd06be350fc
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

kunit

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Patricia Alfonso authored and Linus Torvalds committed
    Integrate KASAN into KUnit testing framework.
    
            - Fail tests when KASAN reports an error that is not expected
            - Use KUNIT_EXPECT_KASAN_FAIL to expect a KASAN error in KASAN
    	  tests
            - Expected KASAN reports pass tests and are still printed when run
              without kunit_tool (kunit_tool still bypasses the report due to the
              test passing)
    	- KUnit struct in current task used to keep track of the current
    	  test from KASAN code
    
    Make use of "[PATCH v3 kunit-next 1/2] kunit: generalize kunit_resource
    API beyond allocated resources" and "[PATCH v3 kunit-next 2/2] kunit: add
    support for named resources" from Alan Maguire [1]
    
            - A named resource is added to a test when a KASAN report is
              expected
            - This resource contains a struct for kasan_data containing
              booleans representing if a KASAN report is expected and if a
              KASAN report is found
    
    [1] (https://lore.kernel.org/linux-kselftest/1583251361-12748-1-git-send-email-alan.maguire@oracle.com/T/#t
    
    )
    
    Signed-off-by: default avatarPatricia Alfonso <trishalfonso@google.com>
    Signed-off-by: default avatarDavid Gow <davidgow@google.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Tested-by: default avatarAndrey Konovalov <andreyknvl@google.com>
    Reviewed-by: default avatarAndrey Konovalov <andreyknvl@google.com>
    Reviewed-by: default avatarDmitry Vyukov <dvyukov@google.com>
    Acked-by: default avatarBrendan Higgins <brendanhiggins@google.com>
    Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Juri Lelli <juri.lelli@redhat.com>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Shuah Khan <shuah@kernel.org>
    Cc: Vincent Guittot <vincent.guittot@linaro.org>
    Link: https://lkml.kernel.org/r/20200915035828.570483-3-davidgow@google.com
    Link: https://lkml.kernel.org/r/20200910070331.3358048-3-davidgow@google.com
    
    
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    83c4e7a0
    History
    Name Last commit Last update
    ..