mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 08:42:40 +01:00 
			
		
		
		
	Renamed test_parallel tests to test_interespersed
The name test_parallel gave off the incorrect impression that these tests are multithreaded.
This commit is contained in:
		
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							| @@ -33,8 +33,8 @@ size: $(OBJ) | ||||
| 	$(SIZE) -t $^ | ||||
|  | ||||
| .SUFFIXES: | ||||
| test: test_format test_dirs test_files test_seek test_truncate test_parallel \ | ||||
| 	test_alloc test_paths test_orphan test_move test_corrupt | ||||
| test: test_format test_dirs test_files test_seek test_truncate \ | ||||
| 	test_interspersed test_alloc test_paths test_orphan test_move test_corrupt | ||||
| test_%: tests/test_%.sh | ||||
| ifdef QUIET | ||||
| 	@./$< | sed -n '/^[-=]/p' | ||||
|   | ||||
| @@ -1,13 +1,13 @@ | ||||
| #!/bin/bash | ||||
| set -eu | ||||
| 
 | ||||
| echo "=== Parallel tests ===" | ||||
| echo "=== Interspersed tests ===" | ||||
| rm -rf blocks | ||||
| tests/test.py << TEST | ||||
|     lfs_format(&lfs, &cfg) => 0; | ||||
| TEST | ||||
| 
 | ||||
| echo "--- Parallel file test ---" | ||||
| echo "--- Interspersed file test ---" | ||||
| tests/test.py << TEST | ||||
|     lfs_mount(&lfs, &cfg) => 0; | ||||
|     lfs_file_open(&lfs, &file[0], "a", LFS_O_WRONLY | LFS_O_CREAT) => 0; | ||||
| @@ -77,7 +77,7 @@ tests/test.py << TEST | ||||
|     lfs_unmount(&lfs) => 0; | ||||
| TEST | ||||
| 
 | ||||
| echo "--- Parallel remove file test ---" | ||||
| echo "--- Interspersed remove file test ---" | ||||
| tests/test.py << TEST | ||||
|     lfs_mount(&lfs, &cfg) => 0; | ||||
|     lfs_file_open(&lfs, &file[0], "e", LFS_O_WRONLY | LFS_O_CREAT) => 0; | ||||
		Reference in New Issue
	
	Block a user