Skip to content
  • Tim Gore's avatar
    tests/gem_concurrent.c: rename to gem_concurrent_all · ebb46bb2
    Tim Gore authored
    Recent patch #7763349a
    
    .. renamed gem_concurrent_blit.c
    to gem_concurrent.c and then added entries to Makefile.am
    to make two identical executeables (but with different
    names) from this source file. This executeable changes its
    behaviour based on argv[0]. But, this has broken the
    Android build, which does not use autotools.
    
    This patch instead renames the source file to match
    the name of one executable (gem_concurrent_all.c) and
    creates a second source file which simply #includes the
    first. The Makefile.am entries are also removed.
    This restores the simple test.c -> test executeable
    relationship seen in the rest of IGT and allows the
    Android build system to work without parsing Makfile.am
    or having to incorporate a special workaround for this
    test.
    
    Signed-off-by: default avatarTim Gore <tim.gore@intel.com>
    Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
    Signed-off-by: default avatarThomas Wood <thomas.wood@intel.com>
    ebb46bb2