net: microchip: sparx5: Adding KUNIT test VCAP model
This provides a test VCAP model for use in a KUNIT test. The model provides 3 different VCAP types for better test coverage. Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
683e05c032
commit
5d7e5b0401
|
@ -4,5 +4,6 @@
|
|||
#
|
||||
|
||||
obj-$(CONFIG_VCAP) += vcap.o
|
||||
obj-$(CONFIG_VCAP_KUNIT_TEST) += vcap_model_kunit.o
|
||||
|
||||
vcap-y += vcap_api.o
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,10 @@
|
|||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
/* Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries.
|
||||
* Microchip VCAP test model interface for kunit testing
|
||||
*/
|
||||
|
||||
#ifndef __VCAP_MODEL_KUNIT_H__
|
||||
#define __VCAP_MODEL_KUNIT_H__
|
||||
extern const struct vcap_info kunit_test_vcaps[];
|
||||
extern const struct vcap_statistics kunit_test_vcap_stats;
|
||||
#endif /* __VCAP_MODEL_KUNIT_H__ */
|
Loading…
Reference in New Issue