[Notes] [Git][BuildGrid/buildgrid][santi/fetch-dir-batch-read] test_client: add subdirectories to data/ for testing



Title: GitLab

Santiago Gil pushed to branch santi/fetch-dir-batch-read at BuildGrid / buildgrid

Commits:

3 changed files:

Changes:

  • tests/cas/data/includes/contrib/hello-contrib.h
    1
    +/* Hello from the contrib/ directory */
    
    2
    +#define HELLO_CONTRIB "Hello!"

  • tests/cas/data/includes/hello1.h
    1
    +/* Hello1.h */
    
    2
    +#define HELLO1 "Hello1!"

  • tests/cas/test_client.py
    ... ... @@ -44,12 +44,19 @@ FILES = [
    44 44
         (os.path.join(DATA_DIR, 'void'),),
    
    45 45
         (os.path.join(DATA_DIR, 'hello.cc'),),
    
    46 46
         (os.path.join(DATA_DIR, 'hello', 'hello.c'),
    
    47
    -     os.path.join(DATA_DIR, 'hello', 'hello.h'))]
    
    47
    +     os.path.join(DATA_DIR, 'hello', 'hello.h'),
    
    48
    +     os.path.join(DATA_DIR, 'hello', 'hello.sh'),),
    
    49
    +    (os.path.join(DATA_DIR, 'includes', 'hello1.h'),),
    
    50
    +    (os.path.join(DATA_DIR, 'includes', 'contrib', 'hello-contrib.h'),)]
    
    48 51
     FOLDERS = [
    
    49
    -    (os.path.join(DATA_DIR, 'hello'),)]
    
    52
    +    (DATA_DIR,),
    
    53
    +    (os.path.join(DATA_DIR, 'hello'),),
    
    54
    +    (os.path.join(DATA_DIR, 'includes'),),
    
    55
    +    (os.path.join(DATA_DIR, 'includes', 'contrib'),)]
    
    50 56
     DIRECTORIES = [
    
    57
    +    (DATA_DIR,),
    
    51 58
         (os.path.join(DATA_DIR, 'hello'),),
    
    52
    -    (os.path.join(DATA_DIR, 'hello'), DATA_DIR)]
    
    59
    +    (os.path.join(DATA_DIR, 'includes'),)]
    
    53 60
     
    
    54 61
     
    
    55 62
     @pytest.mark.parametrize('blobs', BLOBS)
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]