Changeset 2652

Show
Ignore:
Timestamp:
10/28/07 05:50:03 (1 year ago)
Author:
dgollub
Message:

Copy build plugins in to testbed and set testbed as pluginenv directory.
This makes the unitcase able to run without installting to the system
enviroment.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • format-plugins/vformat/tests/conversion-tests/conversion.c

    r1951 r2652  
    11#include "conversion.h" 
     2#include <stdio.h> 
    23 
    34void conv(const char *objtype, const char *filename, const char *extension) 
     
    1516        fail_unless(format_env != NULL, NULL); 
    1617 
    17         fail_unless(osync_format_env_load_plugins(format_env, NULL, &error), NULL); 
     18        fail_unless(osync_format_env_load_plugins(format_env, testbed, &error), NULL); 
    1819 
    1920        char *buffer; 
  • format-plugins/vformat/tests/support.c

    r2281 r2652  
    4040                g_free(dirname); 
    4141        } 
     42 
     43        command = g_strdup_printf("cp ../src/*.so*  %s", testbed); 
     44        if (system(command)) 
     45                abort(); 
     46        g_free(command); 
    4247         
    4348        command = g_strdup_printf("chmod -R 700 %s", testbed);