diff --git a/script/extract-giflzw.go b/script/extract-giflzw.go index 16897ec7..08a1bbd9 100644 --- a/script/extract-giflzw.go +++ b/script/extract-giflzw.go @@ -37,7 +37,7 @@ func main1() error { return err } b := a[:len(a)-len(filepath.Ext(a))] - if err := ioutil.WriteFile(b+".giflzw", data, 0644); err != nil { + if err := ioutil.WriteFile(b+".indexes.giflzw", data, 0644); err != nil { return err } } diff --git a/test/c/std/gif.c b/test/c/std/gif.c index 13a8d282..4b0fd983 100644 --- a/test/c/std/gif.c +++ b/test/c/std/gif.c @@ -268,25 +268,25 @@ cleanup0:; void test_lzw_decode_many_small_inputs() { proc_funcname = __func__; - test_lzw_decode_xxx("../../testdata/bricks-gray.giflzw", 14731, + test_lzw_decode_xxx("../../testdata/bricks-gray.indexes.giflzw", 14731, "../../testdata/bricks-gray.indexes", 19200, 100); } void test_lzw_decode_one_large_input() { proc_funcname = __func__; - test_lzw_decode_xxx("../../testdata/bricks-gray.giflzw", 14731, + test_lzw_decode_xxx("../../testdata/bricks-gray.indexes.giflzw", 14731, "../../testdata/bricks-gray.indexes", 19200, 1 << 30); } void test_lzw_decode_bricks_dither() { proc_funcname = __func__; - test_lzw_decode_xxx("../../testdata/bricks-dither.giflzw", 14923, + test_lzw_decode_xxx("../../testdata/bricks-dither.indexes.giflzw", 14923, "../../testdata/bricks-dither.indexes", 19200, 1 << 30); } void test_lzw_decode_bricks_nodither() { proc_funcname = __func__; - test_lzw_decode_xxx("../../testdata/bricks-nodither.giflzw", 13382, + test_lzw_decode_xxx("../../testdata/bricks-nodither.indexes.giflzw", 13382, "../../testdata/bricks-nodither.indexes", 19200, 1 << 30); } @@ -339,7 +339,7 @@ void bench_lzw_decode_xxx(const char* filename, uint64_t reps) { void bench_lzw_decode_20k() { proc_funcname = __func__; - bench_lzw_decode_xxx("../../testdata/bricks-gray.giflzw", 5000); + bench_lzw_decode_xxx("../../testdata/bricks-gray.indexes.giflzw", 5000); } void bench_lzw_decode_100k() { diff --git a/test/testdata/bricks-dither.giflzw b/test/testdata/bricks-dither.indexes.giflzw similarity index 100% rename from test/testdata/bricks-dither.giflzw rename to test/testdata/bricks-dither.indexes.giflzw diff --git a/test/testdata/bricks-gray.giflzw b/test/testdata/bricks-gray.indexes.giflzw similarity index 100% rename from test/testdata/bricks-gray.giflzw rename to test/testdata/bricks-gray.indexes.giflzw diff --git a/test/testdata/bricks-nodither.giflzw b/test/testdata/bricks-nodither.indexes.giflzw similarity index 100% rename from test/testdata/bricks-nodither.giflzw rename to test/testdata/bricks-nodither.indexes.giflzw