[Notes] [Git][BuildStream/buildstream][raoul/802-refactor-artifactcache] Test commit, see if tmpdir is empty to begin with for pullbuildtrees



Title: GitLab

Raoul Hidalgo Charman pushed to branch raoul/802-refactor-artifactcache at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • tests/integration/pullbuildtrees.py
    ... ... @@ -46,6 +46,9 @@ def test_pullbuildtrees(cli, tmpdir, datafiles, integration_cache):
    46 46
                 'artifactdir': os.path.join(str(tmpdir), 'artifacts')
    
    47 47
             })
    
    48 48
     
    
    49
    +        # TODO remove later but let's just check if the tmp dir is empty to begin with.
    
    50
    +        assert os.listdir(os.path.join(integration_cache, 'tmp')) == []
    
    51
    +
    
    49 52
             # Build autotools element, checked pushed, delete local
    
    50 53
             result = cli.run(project=project, args=['build', element_name])
    
    51 54
             assert result.exit_code == 0
    



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