mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-22 12:28:40 +08:00
Test it on native Windows env
This commit is contained in:
parent
cd13b48c21
commit
acc8f8bf72
11
test/fw.c
11
test/fw.c
@ -5,7 +5,7 @@
|
||||
* Contributors : Nil Null <nil@null.org>
|
||||
* |
|
||||
* Created On : <2024-12-14>
|
||||
* Last Modified : <2024-12-14>
|
||||
* Last Modified : <2025-06-19>
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
#define Chsrc_Version "Frameworker"
|
||||
@ -69,7 +69,14 @@ main (int argc, char const *argv[])
|
||||
printf ("chsrc: CPU cores = ");
|
||||
puti (chsrc_get_cpucore ());
|
||||
|
||||
chsrc_run ("rm " bkup, RunOpt_No_Last_New_Line);
|
||||
if (xy_on_windows)
|
||||
{
|
||||
chsrc_run ("del " bkup, RunOpt_No_Last_New_Line);
|
||||
}
|
||||
else
|
||||
{
|
||||
chsrc_run ("rm " bkup, RunOpt_No_Last_New_Line);
|
||||
}
|
||||
chsrc_run ("echo " Chsrc_Version " test pass!", RunOpt_Dont_Notify_On_Success);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user