-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from codecrafters-io/CC-823
CC-823 updated tester utils
- Loading branch information
Showing
8 changed files
with
113 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
Debug = true | ||
|
||
[33m[stage-1] [0m[94m[94mRunning tests for Stage #1: init[0m[0m | ||
[33m[stage-1] [0m[36m[36mRunning git init[0m[0m | ||
[33m[stage-1] [0m[94mRunning tests for Stage #1: init[0m | ||
[33m[stage-1] [0m[36mRunning git init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-1] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-1] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-2] [0m[94m[94mRunning tests for Stage #2: read_blob[0m[0m | ||
[33m[stage-2] [0m[36m[36mRunning ./your_git.sh init[0m[0m | ||
[33m[stage-2] [0m[94mRunning tests for Stage #2: read_blob[0m | ||
[33m[stage-2] [0m[36mRunning ./your_git.sh init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-2] [0m[36m[36mWriting sample file[0m[0m | ||
[33m[stage-2] [0m[36m[36mRunning ./your_git.sh cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m[0m | ||
[33m[stage-2] [0m[36mWriting sample file[0m | ||
[33m[stage-2] [0m[36mRunning ./your_git.sh cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m | ||
[33m[your_program] [0mdumpty dooby doo donkey horsey vanilla | ||
[33m[stage-2] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-2] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-3] [0m[94m[94mRunning tests for Stage #3: create_blob[0m[0m | ||
[33m[stage-3] [0m[36m[36mRunning ./your_git.sh init[0m[0m | ||
[33m[stage-3] [0m[94mRunning tests for Stage #3: create_blob[0m | ||
[33m[stage-3] [0m[36mRunning ./your_git.sh init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-3] [0m[36m[36mWriting sample file[0m[0m | ||
[33m[stage-3] [0m[36m[36mRunning ./your_git.sh hash-object -w donkey.txt[0m[0m | ||
[33m[stage-3] [0m[36mWriting sample file[0m | ||
[33m[stage-3] [0m[36mRunning ./your_git.sh hash-object -w donkey.txt[0m | ||
[33m[your_program] [0m32eb24247f1cc0f2aa44da05b849392063a9b9e7 | ||
[33m[stage-3] [0m[36m[36mRunning git cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m[0m | ||
[33m[stage-3] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-3] [0m[36mRunning git cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m | ||
[33m[stage-3] [0m[92mTest passed.[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Debug = true | ||
|
||
[33m[stage-1] [0m[94m[94mRunning tests for Stage #1: init[0m[0m | ||
[33m[stage-1] [0m[36m[36mRunning git init[0m[0m | ||
[33m[stage-1] [0m[94mRunning tests for Stage #1: init[0m | ||
[33m[stage-1] [0m[36mRunning git init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-1] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-1] [0m[92mTest passed.[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
Debug = true | ||
|
||
[33m[stage-1] [0m[94m[94mRunning tests for Stage #1: init[0m[0m | ||
[33m[stage-1] [0m[36m[36mRunning git init[0m[0m | ||
[33m[stage-1] [0m[94mRunning tests for Stage #1: init[0m | ||
[33m[stage-1] [0m[36mRunning git init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-1] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-1] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-2] [0m[94m[94mRunning tests for Stage #2: read_blob[0m[0m | ||
[33m[stage-2] [0m[36m[36mRunning ./your_git.sh init[0m[0m | ||
[33m[stage-2] [0m[94mRunning tests for Stage #2: read_blob[0m | ||
[33m[stage-2] [0m[36mRunning ./your_git.sh init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-2] [0m[36m[36mWriting sample file[0m[0m | ||
[33m[stage-2] [0m[36m[36mRunning ./your_git.sh cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m[0m | ||
[33m[stage-2] [0m[36mWriting sample file[0m | ||
[33m[stage-2] [0m[36mRunning ./your_git.sh cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m | ||
[33m[your_program] [0mdumpty dooby doo donkey horsey vanilla | ||
[33m[stage-2] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-2] [0m[92mTest passed.[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
Debug = true | ||
|
||
[33m[stage-1] [0m[94m[94mRunning tests for Stage #1: init[0m[0m | ||
[33m[stage-1] [0m[36m[36mRunning git init[0m[0m | ||
[33m[stage-1] [0m[94mRunning tests for Stage #1: init[0m | ||
[33m[stage-1] [0m[36mRunning git init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-1] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-1] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-2] [0m[94m[94mRunning tests for Stage #2: read_blob[0m[0m | ||
[33m[stage-2] [0m[36m[36mRunning ./your_git.sh init[0m[0m | ||
[33m[stage-2] [0m[94mRunning tests for Stage #2: read_blob[0m | ||
[33m[stage-2] [0m[36mRunning ./your_git.sh init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-2] [0m[36m[36mWriting sample file[0m[0m | ||
[33m[stage-2] [0m[36m[36mRunning ./your_git.sh cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m[0m | ||
[33m[stage-2] [0m[36mWriting sample file[0m | ||
[33m[stage-2] [0m[36mRunning ./your_git.sh cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m | ||
[33m[your_program] [0mdumpty dooby doo donkey horsey vanilla | ||
[33m[stage-2] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-2] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-3] [0m[94m[94mRunning tests for Stage #3: create_blob[0m[0m | ||
[33m[stage-3] [0m[36m[36mRunning ./your_git.sh init[0m[0m | ||
[33m[stage-3] [0m[94mRunning tests for Stage #3: create_blob[0m | ||
[33m[stage-3] [0m[36mRunning ./your_git.sh init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-3] [0m[36m[36mWriting sample file[0m[0m | ||
[33m[stage-3] [0m[36m[36mRunning ./your_git.sh hash-object -w donkey.txt[0m[0m | ||
[33m[stage-3] [0m[36mWriting sample file[0m | ||
[33m[stage-3] [0m[36mRunning ./your_git.sh hash-object -w donkey.txt[0m | ||
[33m[your_program] [0m32eb24247f1cc0f2aa44da05b849392063a9b9e7 | ||
[33m[stage-3] [0m[36m[36mRunning git cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m[0m | ||
[33m[stage-3] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-3] [0m[36mRunning git cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m | ||
[33m[stage-3] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-4] [0m[94m[94mRunning tests for Stage #4: read_tree[0m[0m | ||
[33m[stage-4] [0m[36m[36mRunning ./your_git.sh init[0m[0m | ||
[33m[stage-4] [0m[94mRunning tests for Stage #4: read_tree[0m | ||
[33m[stage-4] [0m[36mRunning ./your_git.sh init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-4] [0m[36m[36mWriting a tree to git storage..[0m[0m | ||
[33m[stage-4] [0m[36m[36mRunning ./your_git.sh ls-tree --name-only 978c60262a761655b8429dbeb12f7dce351c6cd6[0m[0m | ||
[33m[stage-4] [0m[36mWriting a tree to git storage..[0m | ||
[33m[stage-4] [0m[36mRunning ./your_git.sh ls-tree --name-only 978c60262a761655b8429dbeb12f7dce351c6cd6[0m | ||
[33m[your_program] [0mhumpty | ||
[33m[your_program] [0mscooby | ||
[33m[your_program] [0mvanilla | ||
[33m[stage-4] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-4] [0m[92mTest passed.[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
Debug = true | ||
|
||
[33m[stage-1] [0m[94m[94mRunning tests for Stage #1: init[0m[0m | ||
[33m[stage-1] [0m[36m[36mRunning git init[0m[0m | ||
[33m[stage-1] [0m[94mRunning tests for Stage #1: init[0m | ||
[33m[stage-1] [0m[36mRunning git init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-1] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-1] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-2] [0m[94m[94mRunning tests for Stage #2: read_blob[0m[0m | ||
[33m[stage-2] [0m[36m[36mRunning ./your_git.sh init[0m[0m | ||
[33m[stage-2] [0m[94mRunning tests for Stage #2: read_blob[0m | ||
[33m[stage-2] [0m[36mRunning ./your_git.sh init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-2] [0m[36m[36mWriting sample file[0m[0m | ||
[33m[stage-2] [0m[36m[36mRunning ./your_git.sh cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m[0m | ||
[33m[stage-2] [0m[36mWriting sample file[0m | ||
[33m[stage-2] [0m[36mRunning ./your_git.sh cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m | ||
[33m[your_program] [0mdumpty dooby doo donkey horsey vanilla | ||
[33m[stage-2] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-2] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-3] [0m[94m[94mRunning tests for Stage #3: create_blob[0m[0m | ||
[33m[stage-3] [0m[36m[36mRunning ./your_git.sh init[0m[0m | ||
[33m[stage-3] [0m[94mRunning tests for Stage #3: create_blob[0m | ||
[33m[stage-3] [0m[36mRunning ./your_git.sh init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-3] [0m[36m[36mWriting sample file[0m[0m | ||
[33m[stage-3] [0m[36m[36mRunning ./your_git.sh hash-object -w donkey.txt[0m[0m | ||
[33m[stage-3] [0m[36mWriting sample file[0m | ||
[33m[stage-3] [0m[36mRunning ./your_git.sh hash-object -w donkey.txt[0m | ||
[33m[your_program] [0m32eb24247f1cc0f2aa44da05b849392063a9b9e7 | ||
[33m[stage-3] [0m[36m[36mRunning git cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m[0m | ||
[33m[stage-3] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-3] [0m[36mRunning git cat-file -p 32eb24247f1cc0f2aa44da05b849392063a9b9e7[0m | ||
[33m[stage-3] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-4] [0m[94m[94mRunning tests for Stage #4: read_tree[0m[0m | ||
[33m[stage-4] [0m[36m[36mRunning ./your_git.sh init[0m[0m | ||
[33m[stage-4] [0m[94mRunning tests for Stage #4: read_tree[0m | ||
[33m[stage-4] [0m[36mRunning ./your_git.sh init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-4] [0m[36m[36mWriting a tree to git storage..[0m[0m | ||
[33m[stage-4] [0m[36m[36mRunning ./your_git.sh ls-tree --name-only 978c60262a761655b8429dbeb12f7dce351c6cd6[0m[0m | ||
[33m[stage-4] [0m[36mWriting a tree to git storage..[0m | ||
[33m[stage-4] [0m[36mRunning ./your_git.sh ls-tree --name-only 978c60262a761655b8429dbeb12f7dce351c6cd6[0m | ||
[33m[your_program] [0mhumpty | ||
[33m[your_program] [0mscooby | ||
[33m[your_program] [0mvanilla | ||
[33m[stage-4] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-4] [0m[92mTest passed.[0m | ||
|
||
[33m[stage-5] [0m[94m[94mRunning tests for Stage #5: write_tree[0m[0m | ||
[33m[stage-5] [0m[36m[36mRunning ./your_git.sh init[0m[0m | ||
[33m[stage-5] [0m[94mRunning tests for Stage #5: write_tree[0m | ||
[33m[stage-5] [0m[36mRunning ./your_git.sh init[0m | ||
[33m[your_program] [0mInitialized git directory | ||
[33m[stage-5] [0m[94m[94mCreating some files & directories[0m[0m | ||
[33m[stage-5] [0m[94m[94m$ ./your_git.sh write-tree[0m[0m | ||
[33m[stage-5] [0m[94mCreating some files & directories[0m | ||
[33m[stage-5] [0m[94m$ ./your_git.sh write-tree[0m | ||
[33m[your_program] [0m7bba7df6498a0391b69e6343b517c3360b658293 | ||
[33m[stage-5] [0m[36m[36mReading file at .git/objects/7b/ba7df6498a0391b69e6343b517c3360b658293[0m[0m | ||
[33m[stage-5] [0m[92m[92mFound git object file written at .git/objects/7b/ba7df6498a0391b69e6343b517c3360b658293.[0m[0m | ||
[33m[stage-5] [0m[94m[94m$ git ls-tree --name-only 7bba7df6498a0391b69e6343b517c3360b658293[0m[0m | ||
[33m[stage-5] [0m[92m[92mTest passed.[0m[0m | ||
[33m[stage-5] [0m[36mReading file at .git/objects/7b/ba7df6498a0391b69e6343b517c3360b658293[0m | ||
[33m[stage-5] [0m[92mFound git object file written at .git/objects/7b/ba7df6498a0391b69e6343b517c3360b658293.[0m | ||
[33m[stage-5] [0m[94m$ git ls-tree --name-only 7bba7df6498a0391b69e6343b517c3360b658293[0m | ||
[33m[stage-5] [0m[92mTest passed.[0m |
Oops, something went wrong.