Update .gitignore to ignore more test files #10880

pull eklitzke wants to merge 1 commits into bitcoin:master from eklitzke:gitignore changing 1 files +3 −0
  1. eklitzke commented at 6:49 AM on July 19, 2017: contributor

    Without this change, after building bitcoin master and testing it, I see the following untracked files:

    $ git status
    On branch master
    Your branch is up-to-date with 'origin/master'.
    Untracked files:
      (use "git add <file>..." to include in what will be committed)
    
    	qa/
    	src/test/buildenv.py
    	src/wallet.backup
    

    I've tried to keep the .gitignore lines in the appropriate sections of the file.

  2. update .gitignore with more test files 1c1c50c7c8
  3. practicalswift commented at 7:57 AM on July 19, 2017: contributor

    Concept ACK

  4. in .gitignore:101 in 1c1c50c7c8
      97 | @@ -97,9 +98,11 @@ total.coverage/
      98 |  coverage_percent.txt
      99 |  
     100 |  #build tests
     101 | +qa/
    


    jonasschnelli commented at 8:44 AM on July 19, 2017:

    qa/ should no longer be created in current master. If this is still the case, we should rather find the source why this was created then just ignoring it.


    laanwj commented at 11:53 AM on July 27, 2017:

    I haven't seen any instances of it being created in new trees, so most probably if you have this, it's a remainder from an old build.

  5. in .gitignore:52 in 1c1c50c7c8
      48 | @@ -49,6 +49,7 @@ src/qt/test/moc*.cpp
      49 |  .libs
      50 |  .*.swp
      51 |  *.*~*
      52 | +*.backup
    


    jonasschnelli commented at 8:45 AM on July 19, 2017:

    I guess this would not hurt, though I think we should cleanup the backup file (unlink them) in wallet_test.cpp.


    laanwj commented at 9:01 AM on July 20, 2017:

    Not only that, but we shouldn't be creating a wallet.backup file in the src directory at all. It should go in the temporary directory created for the other test files.

    Sounds like a really bad thing now, someone could confuse it for a real wallet backup, for one.

    Thanks for noticing @eklitzke.


    laanwj commented at 7:58 PM on July 25, 2017:

    This line can go after #10927

  6. jonasschnelli added the label Build system on Jul 19, 2017
  7. promag commented at 2:59 PM on July 19, 2017: member

    Concept ACK.

  8. laanwj referenced this in commit 88af227687 on Jul 25, 2017
  9. laanwj referenced this in commit 9d5e8f92a7 on Jul 25, 2017
  10. MarcoFalke commented at 2:53 PM on July 27, 2017: member

    @eklitzke Are you still working on this?

  11. fametrano referenced this in commit 604fa591b5 on Aug 4, 2017
  12. eklitzke commented at 2:49 AM on August 9, 2017: contributor

    It looks like I get a clean environment when building on master, including when running the test suite. Previously I had built Bitcoin from a release tag. For this reason, I'm closing the PR.

  13. eklitzke closed this on Aug 9, 2017

  14. eklitzke deleted the branch on Aug 9, 2017
  15. JeremyRubin referenced this in commit ba06636d32 on Aug 9, 2017
  16. mempko referenced this in commit bd303baa18 on Sep 28, 2017
  17. mempko referenced this in commit 918af2ad31 on Sep 28, 2017
  18. PastaPastaPasta referenced this in commit 8fdf594316 on Aug 2, 2019
  19. PastaPastaPasta referenced this in commit fa2f4da949 on Aug 6, 2019
  20. charlesrocket referenced this in commit c5156b66b3 on Nov 29, 2019
  21. barrystyle referenced this in commit 3f2c3cc79d on Jan 22, 2020
  22. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me