The main tests directory still looks very crowded, and it's not clear which files are part of a unit tests and which belong to a different test subsystem. Let's clean up the mess and move the unit tests to a separate directory. Message-Id: <20210310063314.1049838-1-thuth@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
		
			
				
	
	
		
			23 lines
		
	
	
		
			409 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			409 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * QTest testcase for the ptimer
 | 
						|
 *
 | 
						|
 * Copyright (c) 2016 Dmitry Osipenko <digetx@gmail.com>
 | 
						|
 *
 | 
						|
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 | 
						|
 * See the COPYING file in the top-level directory.
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef PTIMER_TEST_H
 | 
						|
#define PTIMER_TEST_H
 | 
						|
 | 
						|
extern bool qtest_allowed;
 | 
						|
 | 
						|
extern int64_t ptimer_test_time_ns;
 | 
						|
 | 
						|
struct QEMUTimerList {
 | 
						|
    QEMUTimer active_timers;
 | 
						|
};
 | 
						|
 | 
						|
#endif
 |