2 $description = "Test the .INCLUDE_DIRS special variable.";
9 $dir =~ s,.*/([^/]+)$,../$1,;
11 # Test #1: The content of .INCLUDE_DIRS depends on the platform for which
12 # make was built. What we know for sure is that it shouldn't be
16 ifeq ($(.INCLUDE_DIRS),)
17 $(warning .INCLUDE_DIRS is empty)
27 # Test #2: Make sure -I paths end up in .INCLUDE_DIRS.
31 $(warning dir is empty)
34 ifeq ($(filter $(dir),$(.INCLUDE_DIRS)),)
35 $(warning .INCLUDE_DIRS does not contain $(dir))
45 # This tells the test driver that the perl test script executed properly.