Skip to content

Commit

Permalink
test: rename build subfolders
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jul 11, 2024
1 parent d9a0c68 commit fbda058
Showing 1 changed file with 62 additions and 62 deletions.
124 changes: 62 additions & 62 deletions test/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,65 +41,65 @@ def crunch(input_path, output_path, options=[]):

crunch(None, None, ["--help"])

mkdir("build/test/0")
crunch("test/unvanquished_64.png", "build/test/0/unvanquished_64.crn")
crunch("test/unvanquished_64.png", "build/test/0/unvanquished_64.dds")
crunch("test/unvanquished_64.png", "build/test/0/unvanquished_64.ktx")
crunch("test/unvanquished_64.png", "build/test/0/unvanquished_64.tga")
crunch("test/unvanquished_64.png", "build/test/0/unvanquished_64.bmp")
crunch("test/unvanquished_64.png", "build/test/0/unvanquished_64.png")
crunch("test/unvanquished_64.png", "build/test/0/unvanquished_64.jpg")

mkdir("build/test/1")
crunch("build/test/0/unvanquished_64.crn", "build/test/1/unvanquished_64.crn")
crunch("build/test/0/unvanquished_64.crn", "build/test/1/unvanquished_64.dds")
crunch("build/test/0/unvanquished_64.crn", "build/test/1/unvanquished_64.ktx")
crunch("build/test/0/unvanquished_64.crn", "build/test/1/unvanquished_64.tga")
crunch("build/test/0/unvanquished_64.crn", "build/test/1/unvanquished_64.bmp")
crunch("build/test/0/unvanquished_64.crn", "build/test/1/unvanquished_64.png")
crunch("build/test/0/unvanquished_64.crn", "build/test/1/unvanquished_64.jpg")

mkdir("build/test/2")
crunch("build/test/0/unvanquished_64.dds", "build/test/2/unvanquished_64.crn")
crunch("build/test/0/unvanquished_64.dds", "build/test/2/unvanquished_64.dds")
crunch("build/test/0/unvanquished_64.dds", "build/test/2/unvanquished_64.ktx")
crunch("build/test/0/unvanquished_64.dds", "build/test/2/unvanquished_64.tga")
crunch("build/test/0/unvanquished_64.dds", "build/test/2/unvanquished_64.bmp")
crunch("build/test/0/unvanquished_64.dds", "build/test/2/unvanquished_64.png")
crunch("build/test/0/unvanquished_64.dds", "build/test/2/unvanquished_64.jpg")

mkdir("build/test/3")
crunch("build/test/0/unvanquished_64.ktx", "build/test/3/unvanquished_64.crn")
crunch("build/test/0/unvanquished_64.ktx", "build/test/3/unvanquished_64.dds")
crunch("build/test/0/unvanquished_64.ktx", "build/test/3/unvanquished_64.ktx")
crunch("build/test/0/unvanquished_64.ktx", "build/test/3/unvanquished_64.tga")
crunch("build/test/0/unvanquished_64.ktx", "build/test/3/unvanquished_64.bmp")
crunch("build/test/0/unvanquished_64.ktx", "build/test/3/unvanquished_64.png")
crunch("build/test/0/unvanquished_64.ktx", "build/test/3/unvanquished_64.jpg")

mkdir("build/test/4")
crunch("test/raw-bottom-left.tga", "build/test/4/raw-bottom-left.crn")
crunch("test/raw-bottom-right.tga", "build/test/4/raw-bottom-right.crn")
crunch("test/raw-top-left.tga", "build/test/4/raw-top-left.crn")
crunch("test/raw-top-right.tga", "build/test/4/raw-top-right.crn")
crunch("test/rle-bottom-left.tga", "build/test/4/rle-bottom-left.crn")
crunch("test/rle-bottom-right.tga", "build/test/4/rle-bottom-right.crn")
crunch("test/rle-top-left.tga", "build/test/4/rle-top-left.crn")
crunch("test/rle-top-right.tga", "build/test/4/rle-top-right.crn")

mkdir("build/test/5")
crunch("test/test-colormap1-alpha1.png", "build/test/5/test-colormap1-alpha1.crn")
crunch("test/test-colormap2-alpha1.png", "build/test/5/test-colormap2-alpha1.crn")
crunch("test/test-colormap4-alpha1.png", "build/test/5/test-colormap4-alpha1.crn")
crunch("test/test-colormap8-alpha1.png", "build/test/5/test-colormap8-alpha1.crn")
crunch("test/test-grayscale1-alpha1.png", "build/test/5/test-grayscale1-alpha1.crn")
crunch("test/test-grayscale1-alpha8.png", "build/test/5/test-grayscale1-alpha8.crn")
crunch("test/test-grayscale8-alpha1.png", "build/test/5/test-grayscale8-alpha1.crn")
crunch("test/test-rgb8-alpha8.png", "build/test/5/test-rgb8-alpha8.crn")

mkdir("build/test/6")
crunch("test/sample-default.bmp", "build/test/6/sample-default.crn")
crunch("test/sample-vertical-flip.bmp", "build/test/6/sample-vertical-flip.crn")

mkdir("build/test/7")
crunch("test/black.jpg", "build/test/7/black.crn")
mkdir("build/test/png-to-all")
crunch("test/unvanquished_64.png", "build/test/png-to-all/unvanquished_64.crn")
crunch("test/unvanquished_64.png", "build/test/png-to-all/unvanquished_64.dds")
crunch("test/unvanquished_64.png", "build/test/png-to-all/unvanquished_64.ktx")
crunch("test/unvanquished_64.png", "build/test/png-to-all/unvanquished_64.tga")
crunch("test/unvanquished_64.png", "build/test/png-to-all/unvanquished_64.bmp")
crunch("test/unvanquished_64.png", "build/test/png-to-all/unvanquished_64.png")
crunch("test/unvanquished_64.png", "build/test/png-to-all/unvanquished_64.jpg")

mkdir("build/test/crn-to-all")
crunch("build/test/png-to-all/unvanquished_64.crn", "build/test/crn-to-all/unvanquished_64.crn")
crunch("build/test/png-to-all/unvanquished_64.crn", "build/test/crn-to-all/unvanquished_64.dds")
crunch("build/test/png-to-all/unvanquished_64.crn", "build/test/crn-to-all/unvanquished_64.ktx")
crunch("build/test/png-to-all/unvanquished_64.crn", "build/test/crn-to-all/unvanquished_64.tga")
crunch("build/test/png-to-all/unvanquished_64.crn", "build/test/crn-to-all/unvanquished_64.bmp")
crunch("build/test/png-to-all/unvanquished_64.crn", "build/test/crn-to-all/unvanquished_64.png")
crunch("build/test/png-to-all/unvanquished_64.crn", "build/test/crn-to-all/unvanquished_64.jpg")

mkdir("build/test/dds-to-all")
crunch("build/test/png-to-all/unvanquished_64.dds", "build/test/dds-to-all/unvanquished_64.crn")
crunch("build/test/png-to-all/unvanquished_64.dds", "build/test/dds-to-all/unvanquished_64.dds")
crunch("build/test/png-to-all/unvanquished_64.dds", "build/test/dds-to-all/unvanquished_64.ktx")
crunch("build/test/png-to-all/unvanquished_64.dds", "build/test/dds-to-all/unvanquished_64.tga")
crunch("build/test/png-to-all/unvanquished_64.dds", "build/test/dds-to-all/unvanquished_64.bmp")
crunch("build/test/png-to-all/unvanquished_64.dds", "build/test/dds-to-all/unvanquished_64.png")
crunch("build/test/png-to-all/unvanquished_64.dds", "build/test/dds-to-all/unvanquished_64.jpg")

mkdir("build/test/ktx-to-all")
crunch("build/test/png-to-all/unvanquished_64.ktx", "build/test/ktx-to-all/unvanquished_64.crn")
crunch("build/test/png-to-all/unvanquished_64.ktx", "build/test/ktx-to-all/unvanquished_64.dds")
crunch("build/test/png-to-all/unvanquished_64.ktx", "build/test/ktx-to-all/unvanquished_64.ktx")
crunch("build/test/png-to-all/unvanquished_64.ktx", "build/test/ktx-to-all/unvanquished_64.tga")
crunch("build/test/png-to-all/unvanquished_64.ktx", "build/test/ktx-to-all/unvanquished_64.bmp")
crunch("build/test/png-to-all/unvanquished_64.ktx", "build/test/ktx-to-all/unvanquished_64.png")
crunch("build/test/png-to-all/unvanquished_64.ktx", "build/test/ktx-to-all/unvanquished_64.jpg")

mkdir("build/test/tga-to-crn")
crunch("test/raw-bottom-left.tga", "build/test/tga-to-crn/raw-bottom-left.crn")
crunch("test/raw-bottom-right.tga", "build/test/tga-to-crn/raw-bottom-right.crn")
crunch("test/raw-top-left.tga", "build/test/tga-to-crn/raw-top-left.crn")
crunch("test/raw-top-right.tga", "build/test/tga-to-crn/raw-top-right.crn")
crunch("test/rle-bottom-left.tga", "build/test/tga-to-crn/rle-bottom-left.crn")
crunch("test/rle-bottom-right.tga", "build/test/tga-to-crn/rle-bottom-right.crn")
crunch("test/rle-top-left.tga", "build/test/tga-to-crn/rle-top-left.crn")
crunch("test/rle-top-right.tga", "build/test/tga-to-crn/rle-top-right.crn")

mkdir("build/test/png-to-crn")
crunch("test/test-colormap1-alpha1.png", "build/test/png-to-crn/test-colormap1-alpha1.crn")
crunch("test/test-colormap2-alpha1.png", "build/test/png-to-crn/test-colormap2-alpha1.crn")
crunch("test/test-colormap4-alpha1.png", "build/test/png-to-crn/test-colormap4-alpha1.crn")
crunch("test/test-colormap8-alpha1.png", "build/test/png-to-crn/test-colormap8-alpha1.crn")
crunch("test/test-grayscale1-alpha1.png", "build/test/png-to-crn/test-grayscale1-alpha1.crn")
crunch("test/test-grayscale1-alpha8.png", "build/test/png-to-crn/test-grayscale1-alpha8.crn")
crunch("test/test-grayscale8-alpha1.png", "build/test/png-to-crn/test-grayscale8-alpha1.crn")
crunch("test/test-rgb8-alpha8.png", "build/test/png-to-crn/test-rgb8-alpha8.crn")

mkdir("build/test/bmp-to-crn")
crunch("test/sample-default.bmp", "build/test/bmp-to-crn/sample-default.crn")
crunch("test/sample-vertical-flip.bmp", "build/test/bmp-to-crn/sample-vertical-flip.crn")

mkdir("build/test/jpg-to-crn")
crunch("test/black.jpg", "build/test/jpg-to-crn/black.crn")

0 comments on commit fbda058

Please sign in to comment.