[Notes] [Git][BuildStream/buildstream][relative_workspaces] Update buildstream/element.py, tests/frontend/workspace.py files



Title: GitLab

Phillip Smyth pushed to branch relative_workspaces at BuildStream / buildstream

Commits:

2 changed files:

Changes:

  • buildstream/element.py
    ... ... @@ -1412,7 +1412,6 @@ class Element(Plugin):
    1412 1412
                             source._stage(temp_staging_directory)
    
    1413 1413
     
    
    1414 1414
                     vdirectory.import_files(temp_staging_directory)
    
    1415
    -
    
    1416 1415
             # Ensure deterministic mtime of sources at build time
    
    1417 1416
             vdirectory.set_deterministic_mtime()
    
    1418 1417
             # Ensure deterministic owners of sources at build time
    

  • tests/frontend/workspace.py
    ... ... @@ -209,6 +209,7 @@ def test_close_external_after_move_project(cli, tmpdir, datafiles):
    209 209
     
    
    210 210
         # Assert the workspace dir has been deleted
    
    211 211
         assert not os.path.exists(workspace_dir)
    
    212
    +    # Move directory back inside tmp directory so it can be recognised
    
    212 213
         shutil.move(tmp_dir, project_path)
    
    213 214
     
    
    214 215
     
    



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