itk_module_test()
set(ITKTestKernelTests
itkTestingExtractSliceImageFilterTest.cxx
itkTestingStretchIntensityImageFilterTest.cxx
)

CreateTestDriver(ITKTestKernel "${ITKCommon_LIBRARIES}" "${ITKTestKernelTests}")

set(BASELINE "${ITK_DATA_ROOT}/Baseline/Common")
set(TEMP ${ITK_TEST_OUTPUT_DIR})

itk_add_test(NAME itkTestingExtractSliceImageFilterTest
  COMMAND ITKTestKernelTestDriver itkTestingExtractSliceImageFilterTest)

itk_add_test(NAME itkTestingStretchIntensityImageFilterTest
  COMMAND ITKTestKernelTestDriver itkTestingStretchIntensityImageFilterTest
  )

itk_module_test()
set(ITKTestKernelTests
itkTestingExtractSliceImageFilterTest.cxx
itkTestingStretchIntensityImageFilterTest.cxx
)

CreateTestDriver(ITKTestKernel "${ITKTestKernel-Test_LIBRARIES}" "${ITKTestKernelTests}")

set(BASELINE "${ITK_DATA_ROOT}/Baseline/Common")
set(TEMP ${ITK_TEST_OUTPUT_DIR})

itk_add_test(NAME itkTestingExtractSliceImageFilterTest
  COMMAND ITKTestKernelTestDriver itkTestingExtractSliceImageFilterTest)

itk_add_test(NAME itkTestingStretchIntensityImageFilterTest
  COMMAND ITKTestKernelTestDriver itkTestingStretchIntensityImageFilterTest
  )

Use correct libraries for TestKernel tests
BUG: Use correct libraries for TestKernel tests

Change-Id: If8db54264593cab4735414f70f6eb3fa9711e0b8
